ensure /usr/local/bin in in path
osc is typicaly installed in /usr/local/bin to avoid command not found errors when invoking osc in devstack ensure that /usr/local/bin is included in the PATH. Change-Id: I605fbc4b131149bf5d1b6307b360fe365c680b1a
This commit is contained in:
parent
13e8db5a6f
commit
eca9783a0a
4
stack.sh
4
stack.sh
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user