From 58ae5f7ec98bf360ab5cc9a2aeab7d4349083de7 Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Thu, 29 Sep 2011 06:54:51 +0000 Subject: improve release system --- release-smokeping.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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-$$ -- cgit v1.2.3-24-g4f1b