dbf-halloween2015
diff RUN @ 4:4316c0c879e9
fixed RUN script for macosx
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Nov 2015 06:18:18 +0200 |
parents | 50683c78264e |
children |
line diff
1.1 --- a/RUN Sun Nov 01 06:04:28 2015 +0200 1.2 +++ b/RUN Sun Nov 01 06:18:18 2015 +0200 1.3 @@ -1,3 +1,11 @@ 1.4 #!/bin/sh 1.5 1.6 -LD_LIBRARY_PATH=lib ./bin/halloween $* 1.7 +sys=`uname -s` 1.8 + 1.9 +if [ "$sys" = Darwin ]; then 1.10 + bin=halloween-macosx-x86_64 1.11 +else 1.12 + bin=halloween-gnulinux-x86_64 1.13 +fi 1.14 + 1.15 +LD_LIBRARY_PATH=lib bin/$bin $*