fix syntax of $HOME var use

This commit is contained in:
Rudolf Polzer 2010-07-04 18:36:06 +02:00
parent c68423b1ef
commit 2856d02081

2
all
View File

@ -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