diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-08-03 22:46:14 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-08-03 22:46:14 +0200 |
commit | c8737b1e41f7ef5c730fb0b47c5b478ab58b2341 (patch) | |
tree | f23b8a3170aa2662002ce9fd5ccfcc5c7927dd28 /gnu/packages/java.scm | |
parent | aa9780daf92131dc9ee19868f9621fd2be56ab78 (diff) | |
download | guix-c8737b1e41f7ef5c730fb0b47c5b478ab58b2341.tar.gz |
gnu: icedtea@3.5.0: Properly handle decoding error while substituting.
* gnu/packages/java.scm (icedtea-8)[arguments] <patch-jni-libs>: Change 'encoding-error to 'decoding-error, which is what Guile 2.2 raises when failing to decode an input file.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r-- | gnu/packages/java.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 5744db6ebc..47dd4f256b 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1602,7 +1602,7 @@ IcedTea build harness.") (string-append "lib" name ".so"))))) (for-each (lambda (file) - (catch 'encoding-error + (catch 'decoding-error (lambda () (substitute* file (("VERSIONED_JNI_LIB_NAME\\(\"(.*)\", \"(.*)\"\\)" |