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:
Costa Tsaousis (ktsaou) 2015-10-22 22:19:17 +03:00
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