Fixed SUDO settings.

This commit is contained in:
Manuel Canales Esparcia 2006-08-22 21:08:15 +00:00
parent bcdbeefcc6
commit ba7219760e

View file

@ -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}
} }