Package: devscripts
Version: 2.9.16
Severity: minor
Tags: patch

when using both -p and -u switches with uupdate one should be warn with
the following message :

uupdate: additional archive name/version number is not allowed with --patch

but a typo (missing '-') in the script generate the following error :

$ uupdate -v 1.5-r1 -p ~/public_html/qgo_upload/qgo_1.0.4-r2-1.diff.gz -u 
../qgo-1.5-r1.tar.gz
/usr/bin/uupdate: line 203: [: ne: binary operator expected
dh_testdir
dh_testroot
[...]

and the script continues instead of exiting

please, correct the script accordingly to get back to the correct
behaviour and error reporting



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.1-grsec
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages devscripts depends on:
ii  debianutils                   2.15.4     Miscellaneous utilities specific t
ii  dpkg-dev                      1.13.17    package building tools for Debian
ii  libc6                         2.3.6-4    GNU C Library: Shared libraries an
ii  perl                          5.8.8-3    Larry Wall's Practical Extraction 
ii  sed                           4.1.4-5    The GNU sed stream editor

Versions of packages devscripts recommends:
ii  fakeroot                      1.5.8      Gives a fake root environment

-- 
Cyril Chaboisseau
--- /usr/bin/uupdate.orig       2006-04-05 23:04:02.000000000 +0200
+++ /usr/bin/uupdate    2006-04-05 23:04:07.000000000 +0200
@@ -200,7 +200,7 @@
 done
 
 if [ -n "$PATCH" ]; then
-    if [ $# ne 0 ]; then
+    if [ $# -ne 0 ]; then
         echo "$PROGNAME: additional archive name/version number is not allowed 
with --patch" >&2
        echo "Run $PROGNAME --help for usage information" >&2
         exit 1

Reply via email to