leiningen: fix lein-pkg script.
This commit is contained in:
parent
56114d8e7c
commit
54f54e2a80
2 changed files with 22 additions and 1 deletions
21
srcpkgs/leiningen/patches/quote.patch
Normal file
21
srcpkgs/leiningen/patches/quote.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
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(-)
|
||||
|
||||
--- 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"
|
|
@ -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 <orphan@voidlinux.org>"
|
||||
|
|
Loading…
Reference in a new issue