Skip to content
Snippets Groups Projects
Commit f9e62ad2 authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: icedtea6: patch ant shebang in unpack phase

* gnu/packages/java.scm (icedtea6)[arguments]: patch bootstrap ant in the
  `unpack' phase instead of `patch-paths'.
parent e73b49fb
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,7 @@ (define-public icedtea6
(zero? (system* "tar" "xvjf"
(assoc-ref inputs "ant-bootstrap")))
(begin
(patch-shebang "apache-ant-1.9.4/bin/ant")
(chdir (string-append ,name "-" ,version))
(mkdir "openjdk")
(with-directory-excursion "openjdk"
......@@ -193,8 +194,6 @@ (define-public icedtea6
(alist-cons-after
'unpack 'patch-paths
(lambda _
(patch-shebang "../apache-ant-1.9.4/bin/ant")
;; shebang in patches so that they apply cleanly
(substitute* '("patches/jtreg-jrunscript.patch"
"patches/hotspot/hs23/drop_unlicensed_test.patch")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment