set the PATH

pull/53/head
morrownr 2022-12-15 08:30:39 -06:00
parent ee387a65cd
commit 963baa36d4
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,11 @@ then
exit 1
fi
# ensure /usr/sbin is in the PATH so iw can be found
if ! echo "$PATH" | grep -qw sbin; then
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
fi
# check to ensure gcc is installed
if ! command -v gcc >/dev/null 2>&1
then