aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Trangoni <mjtrangoni@gmail.com>2021-02-06 17:56:53 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-06-07 13:32:49 +0200
commitdfee5a9886112b29f14f762016c8fe892846bfef (patch)
treed50247bf9b3897d947cbaa616ead559801943932
parentffba3aab3f2cf140403b19e23756008f9c947091 (diff)
downloadnx-libs-dfee5a9886112b29f14f762016c8fe892846bfef.tar.gz
nx-libs-dfee5a9886112b29f14f762016c8fe892846bfef.tar.bz2
nx-libs-dfee5a9886112b29f14f762016c8fe892846bfef.zip
shellcheck: Fix SC2064 issues
For more information: https://www.shellcheck.net/wiki/SC2064 -- Use single quotes, otherwise this... Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
-rwxr-xr-xroll-tarballs.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/roll-tarballs.sh b/roll-tarballs.sh
index c9af13102..95b820c5a 100755
--- a/roll-tarballs.sh
+++ b/roll-tarballs.sh
@@ -68,7 +68,7 @@ TARGETDIR="../.."
MANIFEST="$(mktemp)"
TEMP_DIR="$(mktemp -d)"
-trap "rm -f \"${MANIFEST}\"; rm -rf \"${TEMP_DIR}\"" 0
+trap 'rm -f "${MANIFEST}"; rm -rf "${TEMP_DIR}"' 0
# create local copy of Git project at temp location
git archive --format=tar "${CHECKOUT}" --prefix="${PROJECT}-${RELEASE}/" | ( cd "$TEMP_DIR"; tar xf - )