aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexternals/build-all-libdirs.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/externals/build-all-libdirs.sh b/externals/build-all-libdirs.sh
index bbad7585..dfbc8bb0 100755
--- a/externals/build-all-libdirs.sh
+++ b/externals/build-all-libdirs.sh
@@ -15,7 +15,18 @@ else
BUILD_ID=`date +%Y-%m-%d_%H-%M-%S`
fi
-tarball=template-libraries`uname -s`_`uname -m`_$BUILD_ID
+case `uname -s` in
+ Darwin)
+ tarball=template-libraries_macosx_$BUILD_ID
+ ;;
+ MINGW*)
+ tarball=template-libraries_windows-i386_$BUILD_ID
+ ;;
+ *)
+ tarball=template-libraries_`uname -s`-`uname -m`_$BUILD_ID
+ ;;
+esac
+
DESTDIR=`pwd`/DESTDIR/$tarball
for dir in `find . -name \*-meta.pd | sed -n 's|\(.*\)/[a-zA-Z0-9_-]*-meta\.pd|\1|p' `