[Piuparts-commits] [SCM] piuparts git repository branch, master, updated. 0.51

Holger Levsen holger at layer-acht.org
Wed May 15 10:10:16 UTC 2013


The following commit has been merged in the master branch:
commit 6fa312db9d207223a597913ccdd0ce5e42f983ac
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue May 14 15:14:31 2013 +0200

    slave_run: use more readable escaping

diff --git a/slave-bin/slave_run.in b/slave-bin/slave_run.in
index c517623..843b486 100755
--- a/slave-bin/slave_run.in
+++ b/slave-bin/slave_run.in
@@ -28,7 +28,7 @@ else
    SLAVENUM=$1
 fi
 
-if ! `echo $SLAVENUM | grep -E -e "^[0-9]{1}$" >/dev/null` ; then
+if ! $(echo $SLAVENUM | grep -E -e "^[0-9]{1}$" >/dev/null) ; then
    echo "slave must be identified as a number between 0 and 9"
    exit
 fi

-- 
piuparts git repository



More information about the Piuparts-commits mailing list