From 0ee94a1d316f73d6e54a47abe989499e3675d62f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 3 Dec 2012 14:22:33 +0100 Subject: arg --- bin/cd_tester.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/cd_tester.sh b/bin/cd_tester.sh index 492c9469..42b5d315 100755 --- a/bin/cd_tester.sh +++ b/bin/cd_tester.sh @@ -121,11 +121,11 @@ monitor_installation() { # from help let: "Exit Status: If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." let OLD=NR-400 set -x - if ! diff -q snapshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $OLD).ppm ; then + if diff -q snapshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $OLD).ppm ; then echo Warning: snapshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $OLD).ppm match, ending installation. cp snapshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $NR).ppm.bak cp snapshot_$(printf "%06d" $OLD).ppm snapshot_$(printf "%06d" $OLD).ppm.bak - ls -la napshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $OLD).ppm + ls -la snapshot_$(printf "%06d" $NR).ppm snapshot_$(printf "%06d" $OLD).ppm break fi set +x -- cgit v1.2.3-70-g09d2