From 6d1b2e609225ce3708ec628618296ec1fc17acc0 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 28 Jan 2013 16:08:31 +0000 Subject: do better at setting the OS in the tarball name svn path=/trunk/; revision=16993 --- externals/build-all-libdirs.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'externals') 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' ` -- cgit v1.2.1