From 159e6d9fe33b8a76ae650d3b6b1f3d708eb6baaa Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Fri, 26 Jun 2020 22:24:10 +0200 Subject: gnu: maven-shared-utils: Fix /bin/sh invocation. * gnu/packages/maven.scm (maven-shared-utils): Fix /bin/sh invocation. --- gnu/packages/maven.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 @@ (define-public maven-shared-utils (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 -- cgit v1.2.3