Hello community,

here is the log from the commit of package ruby-common for openSUSE:Factory 
checked in at 2014-12-23 11:52:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ruby-common (Old)
 and      /work/SRC/openSUSE:Factory/.ruby-common.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ruby-common"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ruby-common/ruby-common.changes  2014-11-05 
16:26:27.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ruby-common.new/ruby-common.changes     
2014-12-23 11:50:48.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Nov 15 23:46:00 UTC 2014 - Led <[email protected]>
+
+- fix bashisms in generate_buildrequires.sh script
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ generate_buildrequires.sh ++++++
--- /var/tmp/diff_new_pack.8uNhY8/_old  2014-12-23 11:50:49.000000000 +0100
+++ /var/tmp/diff_new_pack.8uNhY8/_new  2014-12-23 11:50:49.000000000 +0100
@@ -94,11 +94,15 @@
 
 usage () {
     # Call as: usage [EXITCODE] [USAGE MESSAGE]
-    exit_code=1
-    if [[ "$1" == [0-9] ]]; then
-        exit_code="$1"
-        shift
-    fi
+    case "$1" in
+        [0-9])
+            exit_code="$1"
+            shift
+            ;;
+        *)
+            exit_code=1
+            ;;
+    esac
     if [ -n "$1" ]; then
         echo "$*" >&2
         echo

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to