From b136abe5ec9375bee6d94313b6fb484902fabf2e Mon Sep 17 00:00:00 2001 From: LukeZGD Date: Tue, 1 Jun 2021 09:02:27 +0800 Subject: [PATCH] Fix drag and drop to terminal --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index ec1f808..8d9bab4 100755 --- a/restore.sh +++ b/restore.sh @@ -1,6 +1,7 @@ #!/bin/bash trap "Clean" EXIT INT TERM +cd "$(dirname $0)" . ./resources/blobs.sh . ./resources/depends.sh . ./resources/device.sh @@ -221,5 +222,4 @@ SelectVersion() { done } -cd "$(dirname $0)" Main $1