From: Rudolf Polzer Date: Sun, 4 Jul 2010 16:36:06 +0000 (+0200) Subject: fix syntax of $HOME var use X-Git-Tag: xonotic-v0.1.0preview~382 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=2856d02081c42be71eef855196e3809616f3ef30 fix syntax of $HOME var use --- diff --git a/all b/all index c9de1c46..541467a2 100755 --- a/all +++ b/all @@ -426,7 +426,7 @@ case "$cmd" in if [ -z "$CC" ]; then export CC=gcc fi - elif [ x"`uname`" = x"Darwin" ] && ( [ -d /Library/Frameworks/SDL.framework ] || [ -d $(HOME)/Library/Frameworks/SDL.framework ] ); then + elif [ x"`uname`" = x"Darwin" ] && { [ -d /Library/Frameworks/SDL.framework ] || [ -d "$HOME/Library/Frameworks/SDL.framework" ]; }; then # AGL is broken in Snow Leopard, so let's default to SDL if it is available. TARGETS="sv-debug sdl-debug" else