mirror of
https://github.com/firehol/firehol.git
synced 2024-06-28 18:02:33 +00:00
fix to remove a space that was appended on all commands detected; added a check to make sure the autoconf configured commands still exist; #82
This commit is contained in:
parent
baa40b6371
commit
f0c2da8736
@ -906,7 +906,7 @@ which_cmd() {
|
||||
fi
|
||||
shift
|
||||
|
||||
eval $name="'${cmd} ${@}'"
|
||||
eval $name="'${cmd}'"
|
||||
return 0
|
||||
}
|
||||
|
||||
@ -991,7 +991,7 @@ do
|
||||
if [ "$set_in_defaults" ]
|
||||
then
|
||||
:
|
||||
elif [ "@AUTOCONF_RUN@" = "Y" -a ! -z "$autoconf" ]
|
||||
elif [ "@AUTOCONF_RUN@" = "Y" -a ! -z "$autoconf" -a -x "$autoconf" ]
|
||||
then
|
||||
eval $cmd_var=\"$autoconf\"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user