From 12b5a566942b063c089cf89292e9f259be896016 Mon Sep 17 00:00:00 2001 From: Matchu Date: Mon, 24 Oct 2022 16:56:06 -0700 Subject: [PATCH] Fix bug in archive:create scripts That's what I get for not fully testing lmao! But right, paths in shell scripts are relative to the working directory, and if I want to be relative to the script I gotta use dirname! --- scripts/archive/create/delta.sh | 2 +- scripts/archive/create/full.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/archive/create/delta.sh b/scripts/archive/create/delta.sh index b0ab090..c33ecc4 100755 --- a/scripts/archive/create/delta.sh +++ b/scripts/archive/create/delta.sh @@ -1 +1 @@ -MANIFEST=$(dirname $0)/../manifest-delta.txt ./download-urls.sh \ No newline at end of file +MANIFEST=$(dirname $0)/../manifest-delta.txt $(dirname $0)/download-urls.sh \ No newline at end of file diff --git a/scripts/archive/create/full.sh b/scripts/archive/create/full.sh index 21ad2fa..f7896b1 100755 --- a/scripts/archive/create/full.sh +++ b/scripts/archive/create/full.sh @@ -1 +1 @@ -MANIFEST=$(dirname $0)/../manifest-full.txt ./download-urls.sh \ No newline at end of file +MANIFEST=$(dirname $0)/../manifest-full.txt $(dirname $0)/download-urls.sh \ No newline at end of file