aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-01-06 15:04:03 +0000
committerrudson <rudson@04377dda-e619-0410-9926-eae83683ac58>2007-01-06 15:04:03 +0000
commit81a2916ad66fcb7708293774ffca7370ca1d9d2c (patch)
treed1b96f53ae4e4220efdd65b762bb4cd1476c1283 /src
parent88519e9755824d7d9f40859106c285852e7a69dd (diff)
downloadsimplepkg-81a2916ad66fcb7708293774ffca7370ca1d9d2c.tar.gz
simplepkg-81a2916ad66fcb7708293774ffca7370ca1d9d2c.tar.bz2
createpkg: definindo ARCH=
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@84 04377dda-e619-0410-9926-eae83683ac58
Diffstat (limited to 'src')
-rw-r--r--src/createpkg6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/createpkg b/src/createpkg
index c222667..0db3f8c 100644
--- a/src/createpkg
+++ b/src/createpkg
@@ -178,8 +178,8 @@ function solve_dep {
# exit code 5 == slackbuild not found
# try to use simplaret
- ARCH=$ARCH simplaret --update
- ARCH=$ARCH simplaret --install $PACK
+ ARCH=$DEFAULT_ARCH simplaret --update
+ ARCH=$DEFAULT_ARCH simplaret --install $PACK
EXIT_CODE="$?"
if [ "$EXIT_CODE" != "0" ]; then
handle_error $SCRIPT_OR_PACKAGE_NOT_FOUND
@@ -331,8 +331,6 @@ if [ $? -ne 0 ]; then
exit 1
fi
-ARCH=$DEFAULT_ARCH
-
# Load slackbuildrc definitions
if [ -f ~/.slackbuildrc ]; then
source ~/.slackbuildrc