diff options
Diffstat (limited to 'include')
-rwxr-xr-x | include/err.sh | 1 | ||||
-rwxr-xr-x | include/option.sh | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/include/err.sh b/include/err.sh index 3c596b17..cab81d02 100755 --- a/include/err.sh +++ b/include/err.sh @@ -53,7 +53,6 @@ check_project() p_="x_ printf \"%s\\n\" \"\$$p\" > $p" eval "x$p_ || $p_" done - export LOCALVERSION="-${projectname}-${version%%-*}" } diff --git a/include/option.sh b/include/option.sh index 31411423..8367d447 100755 --- a/include/option.sh +++ b/include/option.sh @@ -46,9 +46,9 @@ scan_config() set ${line} 1>/dev/null 2>/dev/null || : if [ "${1%:}" = "depend" ]; then depend="${depend} ${2}" - continue + else + eval "${1%:}=\"${2}\"" fi - eval "${1%:}=\"${2}\"" done << EOF $(eval "awk '${awkstr}' \"${revfile}\"") EOF |