diff --git a/gdrive_saves_download.sh b/gdrive_saves_download.sh index 2b1a128..bf97eae 100644 --- a/gdrive_saves_download.sh +++ b/gdrive_saves_download.sh @@ -18,14 +18,17 @@ # You can download the latest version of this script from: # https://github.com/MiSTer-devel/Scripts_MiSTer +# Version 1.0.1 - 2019-02-05 - Changed the way the include file is loaded. # Version 1.0 - 2019-02-02 - First commit +SCRIPT_PATH="$(realpath "$0")" + GDRIVE_URL="https://github.com/odeke-em/drive" GDRIVE_COMMAND="gdrive" GDRIVE_OPTIONS="pull -exclude-ops delete -ignore-conflict -no-prompt" BASE_PATH="/media/fat" SYNC_PATH="$BASE_PATH/saves" -source "$(dirname $(readlink -f $0))/gdrive.sh.inc" \ No newline at end of file +source "$(dirname "$SCRIPT_PATH")/gdrive.sh.inc" \ No newline at end of file diff --git a/gdrive_saves_upload.sh b/gdrive_saves_upload.sh index cd152fe..7dfc71a 100644 --- a/gdrive_saves_upload.sh +++ b/gdrive_saves_upload.sh @@ -18,14 +18,17 @@ # You can download the latest version of this script from: # https://github.com/MiSTer-devel/Scripts_MiSTer +# Version 1.0.1 - 2019-02-05 - Changed the way the include file is loaded. # Version 1.0 - 2019-02-02 - First commit +SCRIPT_PATH="$(realpath "$0")" + GDRIVE_URL="https://github.com/odeke-em/drive" GDRIVE_COMMAND="gdrive" GDRIVE_OPTIONS="push -exclude-ops delete -ignore-conflict -no-prompt" BASE_PATH="/media/fat" SYNC_PATH="$BASE_PATH/saves" -source "$(dirname $(readlink -f $0))/gdrive.sh.inc" \ No newline at end of file +source "$(dirname "$SCRIPT_PATH")/gdrive.sh.inc" \ No newline at end of file