Use else.
authorManuel Novoa III <mjn3@codepoet.org>
Mon, 24 Nov 2003 15:55:50 +0000 (15:55 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Mon, 24 Nov 2003 15:55:50 +0000 (15:55 -0000)
sources/sedcheck.sh

index f6fcebd949625860669cef42452e132637d9a1e8..4d645b6ab0f7ac7a40cc75dad3d8c3ae265f5f69 100755 (executable)
@@ -12,10 +12,10 @@ echo "HELLO" > .sedtest
 $SED -i -e "s/HELLO/GOODBYE/" .sedtest >/dev/null 2>&1
 
 if [ $? != 0 ] ; then
-       rm -f .sedtest
        echo build-sed-host-binary
+else
+       echo use-sed-host-binary
 fi;
 rm -f .sedtest
-echo use-sed-host-binary