Fixed SUDO settings.
This commit is contained in:
parent
bcdbeefcc6
commit
ba7219760e
1 changed files with 3 additions and 3 deletions
|
@ -19,7 +19,7 @@ parse_configuration() { #
|
||||||
#--------------------------#
|
#--------------------------#
|
||||||
local cntr
|
local cntr
|
||||||
local optTARGET
|
local optTARGET
|
||||||
|
|
||||||
while [ 0 ]; do
|
while [ 0 ]; do
|
||||||
read || break 1
|
read || break 1
|
||||||
|
|
||||||
|
@ -66,7 +66,7 @@ parse_configuration() { #
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done <$ConfigFile
|
done <$ConfigFile
|
||||||
|
|
||||||
if [[ $optTARGET = "" ]]; then
|
if [[ $optTARGET = "" ]]; then
|
||||||
echo -e "\n>>> NO TARGET SELECTED.. applicaton terminated"
|
echo -e "\n>>> NO TARGET SELECTED.. applicaton terminated"
|
||||||
echo -e " Run <make> again and select a package to build\n"
|
echo -e " Run <make> again and select a package to build\n"
|
||||||
|
@ -75,7 +75,7 @@ parse_configuration() { #
|
||||||
|
|
||||||
TARGET=$optTARGET
|
TARGET=$optTARGET
|
||||||
DEP_LEVEL=$optDependency
|
DEP_LEVEL=$optDependency
|
||||||
SUDO=${SUDO:-y}
|
SUDO=${SUDO:-n}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue