summaryrefslogtreecommitdiff
path: root/scripts/portable_postbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/portable_postbuild.sh')
-rwxr-xr-xscripts/portable_postbuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/portable_postbuild.sh b/scripts/portable_postbuild.sh
index b68bade0..9a82c216 100755
--- a/scripts/portable_postbuild.sh
+++ b/scripts/portable_postbuild.sh
@@ -1,7 +1,8 @@
#!/bin/sh
VERSION=`cat PORTABLE_VERSION | perl -ne 'chomp and print'`
OSTYPE=`uname -s`
-OUTDIR=portable/deadbeef-$VERSION
+ARCH=`uname -m | perl -ne 'chomp and print'`
+OUTDIR=portable/$ARCH/deadbeef-$VERSION
PLUGDIR=$OUTDIR/plugins
DOCDIR=$OUTDIR/doc
PIXMAPDIR=$OUTDIR/pixmaps