[fix] Use (mostly) absolute path when adding to PATH

This commit is contained in:
William Wernert
2020-11-02 14:25:46 -05:00
parent 1c4abcef15
commit 033f5dbb9c

View File

@@ -114,7 +114,8 @@ case "$setup_type" in
esac
# Allow execution of SO tools during setup
export PATH=$PATH:../salt/common/tools/sbin
local_sbin="$(pwd)/../salt/common/tools/sbin"
export PATH=$PATH:$local_sbin
detect_os && detect_cloud
set_network_dev_status_list