From 36d358c41b8594587b42b5f8f2460c27fa68b53b Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 20 May 2019 14:58:34 +0700 Subject: [PATCH] Make sure that tar extracts the changes archive in the correct folder (and not the working dir, whatever it may be) --- installer/tar/update-filebot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/tar/update-filebot.sh b/installer/tar/update-filebot.sh index bd2366ef..69b1674f 100755 --- a/installer/tar/update-filebot.sh +++ b/installer/tar/update-filebot.sh @@ -40,5 +40,5 @@ curl -L -o "$PACKAGE_FILE" -z "$PACKAGE_FILE" --retry 5 "$PACKAGE_URL" # verify signature and extract tar if gpgv --homedir "$FILEBOT_HOME" --keyring "maintainer.gpg" "$SIGNATURE_FILE" "$PACKAGE_FILE"; then - tar -xvf "$PACKAGE_FILE" + tar -C "$FILEBOT_HOME" -xvf "$PACKAGE_FILE" fi