diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-28 16:08:31 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-28 16:08:31 +0000 |
commit | 6d1b2e609225ce3708ec628618296ec1fc17acc0 (patch) | |
tree | 889c466e463bc3f64489a660847dc32fcfa9d721 /externals | |
parent | a285e2eb4c7b0223e8d3bfd794c8a983f89de829 (diff) |
do better at setting the OS in the tarball name
svn path=/trunk/; revision=16993
Diffstat (limited to 'externals')
-rwxr-xr-x | externals/build-all-libdirs.sh | 13 |
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' ` |