Bug#306973: java-package: make-jpkg should exit with non-zero code if the package file was not created

Hervé Eychenne rv@eychenne.org, 306973@bugs.debian.org
Fri Apr 29 18:39:01 2005


Package: java-package
Version: 0.23
Severity: normal


 Hi,

make-jpkg should exit with non-zero code if the package file was not
created. For example, if "no" is answered to the question

 Detected product:
    Java(TM) Software Development Kit (J2SDK)
    Standard Edition, Version 1.5.0
    Sun Microsystems(TM), Inc.

 Is this correct [Y/n]: n

then it should exit with 1 (and not 0).
Given example is located in /usr/share/java-package/sun-j2sdk.sh, but
there may be some other ones.

Thanks,

Herve

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages java-package depends on:
ii  coreutils                     5.2.1-2    The GNU core utilities
ii  debhelper                     4.2.32     helper programs for debian/rules
ii  fakeroot                      1.2.2      Gives a fake root environment

-- no debconf information