diff options
-rwxr-xr-x | auto-installer.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/auto-installer.sh b/auto-installer.sh index 3654263..50da5fc 100755 --- a/auto-installer.sh +++ b/auto-installer.sh @@ -37,6 +37,8 @@ echo "Checking CD version" export CDMD5=$(md5sum "${CDMOUNT}/data1.cab"|awk '{print $1}') +get_game + [ -z "$TARGETDIR" ] && [ -n "$SHORTGAMENAME" ] && export TARGETDIR="$PWD/$SHORTGAMENAME" [ -z "$TARGETDIR" ] && diequietly |