Use else.
This commit is contained in:
parent
4a66db29af
commit
3c79729137
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user