SDL, SDL2: SDL{,2}_PATH may be undefined
This commit is contained in:
parent
beda0365a6
commit
12a85a7046
@ -1,6 +1,6 @@
|
|||||||
addSDLPath () {
|
addSDLPath () {
|
||||||
if [ -e "$1/include/SDL" ]; then
|
if [ -e "$1/include/SDL" ]; then
|
||||||
export SDL_PATH="$SDL_PATH $1/include/SDL"
|
export SDL_PATH="${SDL_PATH-}${SDL_PATH:+ }$1/include/SDL"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
addSDL2Path () {
|
addSDL2Path () {
|
||||||
if [ -e "$1/include/SDL2" ]; then
|
if [ -e "$1/include/SDL2" ]; then
|
||||||
export SDL2_PATH="$SDL2_PATH $1/include/SDL2"
|
export SDL2_PATH="${SDL2_PATH-}${SDL2_PATH:+ }$1/include/SDL2"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user