Merge "ensure /usr/local/bin in in path"

This commit is contained in:
Zuul 2022-04-11 14:57:13 +00:00 committed by Gerrit Code Review
commit ce0ff1fd9d

View File

@ -67,7 +67,9 @@ unset `env | grep -E '^OS_' | cut -d = -f 1`
umask 022
# Not all distros have sbin in PATH for regular users.
PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin
# osc will normally be installed at /usr/local/bin/openstack so ensure
# /usr/local/bin is also in the path
PATH=$PATH:/usr/local/bin:/usr/local/sbin:/usr/sbin:/sbin
# Keep track of the DevStack directory
TOP_DIR=$(cd $(dirname "$0") && pwd)