lsb 3.1-15 Debian release.
authorChris Lawrence <lawrencc@debian.org>
Fri, 25 Aug 2006 00:08:02 +0000 (19:08 -0500)
committerDidier Raboud <odyx@debian.org>
Fri, 25 Aug 2006 00:08:02 +0000 (19:08 -0500)
debian/changelog
debian/control
debian/pycompat [new file with mode: 0644]
init-functions

index 3937a9281764ea907c98794d4722c803c4e76050..00456634318e672a827fa57a31145c4ab148b778 100644 (file)
@@ -1,3 +1,9 @@
+lsb (3.1-15) unstable; urgency=low
+
+  * Fix assignment to $opt in pidofproc().  (Closes: #384540)
+
+ -- Chris Lawrence <lawrencc@debian.org>  Thu, 24 Aug 2006 19:08:02 -0500
+
 lsb (3.1-14) unstable; urgency=low
 
   * Document LSB init functions more thoroughly in lsb-base's README.Debian.
index 6e9c4be02b639228f935f326d6969fe45e178019..e09ba80a171857893e121b16abd039533c32deb5 100644 (file)
@@ -2,7 +2,7 @@ Source: lsb
 Section: misc
 Priority: extra
 Maintainer: Chris Lawrence <lawrencc@debian.org>
-Build-Depends: debhelper (>= 4.1.13), po-debconf (>= 0.5.0), dpkg-dev (>= 1.10), python-central (>= 0.5), python-all-dev
+Build-Depends: debhelper (>= 5.0.37.2), po-debconf (>= 0.5.0), dpkg-dev (>= 1.10), python-central (>= 0.5), python-all-dev
 Standards-Version: 3.7.2
 XS-Python-Version: current
 
diff --git a/debian/pycompat b/debian/pycompat
new file mode 100644 (file)
index 0000000..0cfbf08
--- /dev/null
@@ -0,0 +1 @@
+2
index 028f88a97790e443b0eaf33360563b9fefbd4926..099e64e22d7b756f38f6f0260ebafa59a11ad46b 100644 (file)
@@ -63,7 +63,7 @@ pidofproc () {
     
     OPTIND=1
     while getopts p: opt ; do
-        case $opt in
+        case "$opt" in
             p)  pidfile="$OPTARG"; specified=1;;
         esac
     done
@@ -101,7 +101,7 @@ killproc () {
 
     OPTIND=1
     while getopts p: opt ; do
-        case $i in
+        case "$opt" in
             p)  pidfile="$OPTARG"; specified=1;;
         esac
     done