The following commit has been merged in the master branch:
commit 28f030dea734e1640f25d81f45d4da155f318d39
Author: James Vega <[email protected]>
Date:   Sat Apr 2 17:40:59 2011 -0400

    pts-subscribe: Do not perform arithmetic comparison of --until argument.
    
    Closes: #620194
    Signed-off-by: James Vega <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index 5aeccc0..c5076d3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ devscripts (2.10.72) UNRELEASED; urgency=low
     + uupdate: Use xz to handle lzma-compressed files.
   * More typography updates for man pages.  Thanks to David Prévot for the
     patch.  (Closes: #616630)
+  * pts-subscribe: Do not perform arithmetic comparison of --until argument.
+    Thanks to Stefano Rivera for the patch.  (Closes: #620194)
 
   [ Ron Lee ]
   * cowpoke: add a --return option that copies the build results back to a
diff --git a/scripts/pts-subscribe.sh b/scripts/pts-subscribe.sh
index 0cb7413..60a80c7 100755
--- a/scripts/pts-subscribe.sh
+++ b/scripts/pts-subscribe.sh
@@ -154,7 +154,7 @@ if [ "$ACTION" = "unsubscribe" ]; then
     echo "$ACTION $pkg $DEBEMAIL" | mail [email protected]
 else
     # Check for an "at" command
-    if [ "$PTS_UNTIL" != forever -a "$PTS_UNTIL" -ne 0 ]; then
+    if [ "$PTS_UNTIL" != forever -a "$PTS_UNTIL" != 0 ]; then
        if ! command -v at >/dev/null 2>&1; then
            echo "$PROGNAME: Could not find the \"at\" command; you must have 
the" >&2
            echo "\"at\" package installed to run this script." >&2

-- 
Git repository for devscripts


-- 
To unsubscribe, send mail to [email protected].

Reply via email to