diff options
Diffstat (limited to 'trunk/src/mkbuild')
-rwxr-xr-x | trunk/src/mkbuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/trunk/src/mkbuild b/trunk/src/mkbuild index 53a8362..38cc78d 100755 --- a/trunk/src/mkbuild +++ b/trunk/src/mkbuild @@ -290,7 +290,11 @@ function start_build { edit_file "DECOMPRESSOR" "$DECOMPRESSOR" $1 edit_file "DECOMPRESSOR TEST FLAG" "$DECOMPRESSOR_TEST_FLAG" $1 edit_file "PROGRAM URL" "$URL" $1 - edit_file "ARCH" "$ARCH" $1 + if [ "$ARCH" == "noarch" ]; then + sed -i 's/^ARCH=.*$/ARCH="noarch"/' $1 + else + edit_file "ARCH" "$ARCH" $1 + fi edit_file "NUMBER OF JOBS" "$NUMJOBS" $1 edit_file "VERSION" $VERSION $1 edit_file "SOURCE NAME CONSTRUCTION STRING" "$CONST_STRING" $1 |