From 20d059892819d2f06f4da8c1150c91e16df1f8cd Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 6 Feb 2014 13:51:57 +0100 Subject: [PATCH] =?UTF-8?q?Drop=20dependency=20on=20=E2=80=98expr=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit http://hydra.nixos.org/build/8715639 Not sure why this causes a failure now. --- tests/parallel.builder.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/parallel.builder.sh b/tests/parallel.builder.sh index 280eb1de8..d092bc5a6 100644 --- a/tests/parallel.builder.sh +++ b/tests/parallel.builder.sh @@ -7,7 +7,7 @@ while ! ln -s x $shared.lock 2> /dev/null; do done test -f $shared.cur || echo 0 > $shared.cur test -f $shared.max || echo 0 > $shared.max -new=$(expr $(cat $shared.cur) + 1) +new=$(($(cat $shared.cur) + 1)) if test $new -gt $(cat $shared.max); then echo $new > $shared.max fi @@ -25,5 +25,5 @@ while ! ln -s x $shared.lock 2> /dev/null; do sleep 1 done test -f $shared.cur || echo 0 > $shared.cur -echo $(expr $(cat $shared.cur) - 1) > $shared.cur +echo $(($(cat $shared.cur) - 1)) > $shared.cur rm $shared.lock