diff options
Diffstat (limited to 'upkg')
-rwxr-xr-x | upkg | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 ) |