aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/maven.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index dfd7102e1e..00c644c432 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -379,9 +379,13 @@ Maven Wagon, for use in Maven.")))
(arguments
`(#:jar-name "maven-shared-utils.jar"
#:source-dir "src/main/java"
- #:jdk ,icedtea-8
#:phases
(modify-phases %standard-phases
+ (add-before 'build 'fix-/bin/sh-invocation
+ (lambda _
+ (substitute* (find-files "src" ".*.java$")
+ (("/bin/sh") (which "sh")))
+ #t))
(add-before 'check 'remove-cyclic-dep
(lambda _
(delete-file