Bug#945917: jh_build: JH_JAR_EXTRA is ignored

Frédéric Perrin fred at fperrin.net
Sun Dec 1 01:34:08 GMT 2019


Package: javahelper
Version: 0.72.9
Severity: normal

Dear Maintainer,

Option JH_JAR_EXTRA is ignored by jh_build. When setting the script
variable from the environment, the code looks at the existing value,
rather than the env. IOW, it should be:

diff -U0 jh_build.orig jh_build
--- jh_build.orig	2019-12-01 00:25:24.162770395 +0000
+++ jh_build	2019-12-01 00:35:58.528043183 +0000
@@ -121 +121 @@
- at JH_JAR_EXTRA = split(' ', $ENV{'JH_JAR_EXTRA'}) if @JH_JAR_EXTRA;
+ at JH_JAR_EXTRA = split(' ', $ENV{'JH_JAR_EXTRA'}) if $ENV{JH_JAR_EXTRA};



-- System Information:
Debian Release: 10.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages javahelper depends on:
ii  bsdmainutils         11.1.2+b1
ii  dctrl-tools          2.24-3
ii  debhelper            12.1.1
ii  devscripts           2.19.5+deb10u1
ii  dpkg-dev             1.19.7
ii  libarchive-zip-perl  1.64-1
ii  perl                 5.28.1-6

javahelper recommends no packages.

javahelper suggests no packages.

-- no debconf information



More information about the pkg-java-maintainers mailing list