Skip to content

fix pythonpath.sh script + remove bash warnings

fix pythonpath.sh script and remove bash warnings

On Debian Stretch, when sourcing the pythonpath.sh script, the following warnings are displayed and the value of the PYTHONPATH environment variable is not set. This diff fixes those issues.

$ . pythonpath.sh
bash: local: utilisable seulement dans une fonction
bash: local: utilisable seulement dans une fonction
bash: bin/ls-all-repos: Aucun fichier ou dossier de ce type

Migrated from D234 (view on Phabricator)

Merge request reports