From 45711c695d74085408a73d4af45270f8e018269a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 20 Dec 2012 02:20:19 +0100 Subject: be less verbose --- bin/g-i-installation.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bin/g-i-installation.sh') diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh index f21d1edc..e19fa747 100755 --- a/bin/g-i-installation.sh +++ b/bin/g-i-installation.sh @@ -275,8 +275,8 @@ monitor_system() { # from help let: "Exit Status: If the last ARG evaluates to 0, let returns 1; let returns 0 otherwise." let OLD=NR-400 PRINTF_OLD=$(printf "%06d" $OLD) - set -x if diff -q snapshot_${PRINTF_NR}.ppm snapshot_${PRINTF_OLD}.ppm ; then + set -x GOCR=$(mktemp) gocr snapshot_${PRINTF_NR}.ppm > $GOCR LAST_LINE=$(tail -1 $GOCR |cut -d "]" -f2- || true) @@ -301,7 +301,6 @@ monitor_system() { echo $TRIGGER_NR fi fi - set +x fi let NR=NR+1 sleep 2 -- cgit v1.2.3-70-g09d2