From bc3a7f1bcad00248c11ac6fa1254b899f8706ed3 Mon Sep 17 00:00:00 2001 From: Locutus73 Date: Tue, 5 Feb 2019 16:00:43 +0100 Subject: [PATCH] Version 1.0.1 Changed the way the include file is loaded. --- gdrive_saves_download.sh | 5 ++++- gdrive_saves_upload.sh | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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