diff --git a/regression_test/compileonly/mfgen-tpd/HR30365/Makefile b/regression_test/compileonly/mfgen-tpd/HR30365/Makefile index 89d30ee158e042fab7a873928dca3e939e54bcaf..cc5bae6d9abc5182395e48de548d6afadca7492e 100644 --- a/regression_test/compileonly/mfgen-tpd/HR30365/Makefile +++ b/regression_test/compileonly/mfgen-tpd/HR30365/Makefile @@ -30,8 +30,9 @@ BuildHelloTpd: -t HelloTpd/HelloTpd.tpd 2>&1 | tee output CheckHelloTpd: BuildHelloTpd - if [[ -d "Hello000/bin" || -d "Hello123/bin" || `grep -c "Makefile skeleton was generated." ./output` -ne 1 ]];\ - then exit 1; fi + if [ -e "Hello000/bin" ] || [ -e "Hello123/bin" ] || [ `grep -c "Makefile skeleton was generated." ./output` -ne 1 ]; \ + then exit 1; \ + fi clean: -rm -rf HelloTpd/bin output