aboutsummaryrefslogtreecommitdiff
path: root/upkg
diff options
context:
space:
mode:
Diffstat (limited to 'upkg')
-rwxr-xr-xupkg7
1 files changed, 6 insertions, 1 deletions
diff --git a/upkg b/upkg
index c4f86a9..937435a 100755
--- a/upkg
+++ b/upkg
@@ -34,6 +34,11 @@ if [ -z "$ARCH" ]; then
esac
fi
+case "$ARCH" in
+ i?86) ARCH="i686 i586 i486 i386" ;;
+ *) ;;
+esac
+
# if no package name, see if we're in a SlackBuild dir.
# if so, install the package for the current dir, if one
# exists in $OUTPUT. Read .info file for version number and
@@ -60,7 +65,7 @@ if [ -z "$@" ]; then
eval $buildline
- for myarch in noarch "$ARCH"; do
+ for myarch in noarch $ARCH; do
myglob="$OUTPUT/$PRGNAM-$VERSION-$myarch-$BUILD*.t?z"
myfile=$( echo $myglob )