aboutsummaryrefslogtreecommitdiff
path: root/trunk/src
diff options
context:
space:
mode:
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-12-20 16:48:26 +0000
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-12-20 16:48:26 +0000
commita0836fed6f78bd14ffeabbb44644646f4b9ee53f (patch)
treee7ef9d1d841a5d3f434c7bfa509b6ec6d02efbbf /trunk/src
parent17f07631727a7d9ec38ce293361e3b46d1e88826 (diff)
downloadsimplepkg-a0836fed6f78bd14ffeabbb44644646f4b9ee53f.tar.gz
simplepkg-a0836fed6f78bd14ffeabbb44644646f4b9ee53f.tar.bz2
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@475 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'trunk/src')
-rwxr-xr-xtrunk/src/mkbuild6
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