diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/generic-includes.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/generic-includes.sh b/includes/generic-includes.sh index e14138f..d4dcdb4 100644 --- a/includes/generic-includes.sh +++ b/includes/generic-includes.sh @@ -2,7 +2,7 @@ [ -z "$TMPDIR" ] && export TMPDIR="/tmp/iepatch" -[ -z "$TARGETDIR" ] && export TARGETDIR="$PWD/$SHORTGAMENAME" +[ -z "$TARGETDIR" ] && [ -e "$SHORTGAMENAME" ] && export TARGETDIR="$PWD/$SHORTGAMENAME" [ -z "$LANGUAGE" ] && export LANGUAGE="English" |