diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-07 15:20:02 -0500 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2019-11-08 13:28:58 -0500 |
commit | 12a85a7046503e6ff602663a1d054407a4e3f184 (patch) | |
tree | 67f6b689127c252c8b5fc593b133af1768bb632a /pkgs/development/libraries/SDL2 | |
parent | beda0365a64f025c26212cb69ffbb09f3ef329fd (diff) |
SDL, SDL2: SDL{,2}_PATH may be undefined
Diffstat (limited to 'pkgs/development/libraries/SDL2')
-rw-r--r-- | pkgs/development/libraries/SDL2/setup-hook.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/SDL2/setup-hook.sh b/pkgs/development/libraries/SDL2/setup-hook.sh index 3acce9d473c56..0119926491afe 100644 --- a/pkgs/development/libraries/SDL2/setup-hook.sh +++ b/pkgs/development/libraries/SDL2/setup-hook.sh @@ -1,6 +1,6 @@ addSDL2Path () { 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 } |