[Pkg-wmaker-commits] [wmbiff] 01/17: fix ruby1.8's complaint.
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Thu Aug 20 03:04:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to tag wmbiff_0_4_18
in repository wmbiff.
commit 07f73f5d77f57196c8968e9a6cf255846022152c
Author: bluehal <bluehal>
Date: Fri Oct 10 15:59:12 2003 +0000
fix ruby1.8's complaint.
---
scripts/security.debian.rb | 13 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
diff --git a/scripts/security.debian.rb b/scripts/security.debian.rb
index a4ec0c2..913358d 100755
--- a/scripts/security.debian.rb
+++ b/scripts/security.debian.rb
@@ -1,4 +1,4 @@
-#! /usr/bin/ruby
+#! /usr/bin/ruby -w
# Copyright 2002 Neil Spring <nspring at cs.washington.edu>
# GPL
@@ -180,11 +180,10 @@ updated = Array.new
}
# we're done. output a count in the format expected by wmbiff.
-puts (if(updatedcount > 0) then
- "%d new" % updatedcount
- else
- "%d old" % installed.length
- end
- )
+if(updatedcount > 0) then
+ puts "%d new" % [ updatedcount ]
+else
+ puts "%d old" % [ installed.length ]
+end
puts updated.join("\n")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmbiff.git
More information about the Pkg-wmaker-commits
mailing list