X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=all;h=541467a2e5f2d5539d1b6021d11b8b908f56e5fd;hp=c9de1c4641b4e697dda57493c06993692f7efcfc;hb=2856d02081c42be71eef855196e3809616f3ef30;hpb=c68423b1ef3a36ade0650cdfd1b50e2f676988e9 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