1
0
mirror of https://github.com/morrownr/8821cu-20210916.git synced 2024-11-18 19:44:48 +00:00

set the PATH

This commit is contained in:
morrownr 2022-12-15 08:30:39 -06:00
parent ee387a65cd
commit 963baa36d4

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