Pmodules/modbuild

- bugfix: 'local' used in global scope
This commit is contained in:
2017-06-09 12:27:24 +02:00
parent 6f3b552dce
commit a7637d4c52
+1 -1
View File
@@ -330,7 +330,7 @@ if [[ ${bootstrap} == no ]]; then
# if version is not specified, use version from last line of variants file
if [[ -z "$V" ]]; then
local tmp=$(awk 'END{print $1}' "${variants_file}")
declare tmp=$(awk 'END{print $1}' "${variants_file}")
V="${tmp#*/}"
fi
else