From 54f54e2a803e8bcacd7ffcb191e65ec6009475c0 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 5 Oct 2020 12:41:50 +0200 Subject: [PATCH] leiningen: fix lein-pkg script. --- srcpkgs/leiningen/patches/quote.patch | 21 +++++++++++++++++++++ srcpkgs/leiningen/template | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/leiningen/patches/quote.patch diff --git a/srcpkgs/leiningen/patches/quote.patch b/srcpkgs/leiningen/patches/quote.patch new file mode 100644 index 0000000000..4b2623003e --- /dev/null +++ b/srcpkgs/leiningen/patches/quote.patch @@ -0,0 +1,21 @@ +From 7677dabea40a2d17a42a718ca8c7e450b09e153c Mon Sep 17 00:00:00 2001 +From: Phil Hagelberg +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(-) + +--- bin/lein-pkg ++++ 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" diff --git a/srcpkgs/leiningen/template b/srcpkgs/leiningen/template index aff6924af1..6d51d39df1 100644 --- a/srcpkgs/leiningen/template +++ b/srcpkgs/leiningen/template @@ -1,7 +1,7 @@ # Template file for 'leiningen' pkgname=leiningen version=2.9.4 -revision=1 +revision=2 depends="bash virtual?java-runtime" short_desc="Automate Clojure projects without setting your hair on fire" maintainer="Orphaned "