aports/testing/leiningen/fix-missing-quote.patch
prspkt 5e0bbaef4b testing/leiningen: upgrade to 2.9.4
* Add bash runtime dependency.
* Add completions for bash and zsh.
* Import upstream patch to fix quoting.
2020-07-11 13:45:43 +00:00

24 lines
925 B
Diff

From 7677dabea40a2d17a42a718ca8c7e450b09e153c Mon Sep 17 00:00:00 2001
From: Phil Hagelberg <phil@hagelb.org>
Date: Wed, 8 Jul 2020 14:31:03 -0700
Subject: [PATCH] Fix missing quote in bin/lein-pkg.
Fixes #2691
---
bin/lein-pkg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/lein-pkg b/bin/lein-pkg
index 4642196a3..b45cf594a 100644
--- a/bin/lein-pkg
+++ b/bin/lein-pkg
@@ -86,7 +86,7 @@ if [ -r .lein-fast-trampoline ]; then
fi
if [ "$LEIN_FAST_TRAMPOLINE" != "" ] && [ -r project.clj ]; then
- INPUTS="$* $(cat project.clj) $LEIN_VERSION $(test -f "$LEIN_HOME/profiles.clj" && cat "$LEIN_HOME/profiles.clj") $(test -f profiles.clj && cat profiles.clj)
+ INPUTS="$* $(cat project.clj) $LEIN_VERSION $(test -f "$LEIN_HOME/profiles.clj" && cat "$LEIN_HOME/profiles.clj") $(test -f profiles.clj && cat profiles.clj)"
if command -v shasum >/dev/null 2>&1; then
SUM="shasum"