diff options
-rwxr-xr-x | release-smokeping.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release-smokeping.sh b/release-smokeping.sh index eba7b6b..801a223 100755 --- a/release-smokeping.sh +++ b/release-smokeping.sh @@ -1,7 +1,7 @@ #!/bin/sh set -e VERSION=`perl -n -e 'm/\QAC_INIT([rrdtool],[\E(.+?)\Q])\E/ && print $1' configure.ac` -[ `svn status -q | wc -l` > 0 ] && echo "ERROR: commit all changes before release" && exit 1 +[ `svn status -q | wc -l` -gt 0 ] && echo "ERROR: commit all changes before release" && exit 1 cd /tmp svn export svn://svn.oetiker.ch/smokeping/trunk/software smokeping-$$ cd smokeping-$$ |