Merge pull request #161 from EuropeanSpallationSource/ci-ignore-return-code-of-grep

travis/post-prepare.sh: Ignore return code of grep
This commit is contained in:
Kevin Peterson
2020-05-20 09:22:18 -05:00
committed by GitHub
+2 -2
View File
@@ -24,10 +24,10 @@ pwd
sed -i -e "s|^\(SUPPORT=.*\)$|#\1|g" ./configure/RELEASE
#
echo -e "${ANSI_BLUE}Updated motor/configure/RELEASE${ANSI_RESET}"
grep SUPPORT ./configure/RELEASE
grep SUPPORT ./configure/RELEASE || :
# Comment out SUPPORT from motorOms's RELEASE file
sed -i -e "s|^\(SUPPORT=.*\)$|#\1|g" ./modules/motorOms/configure/RELEASE
#
echo -e "${ANSI_BLUE}Updated motor/modules/motorOms/configure/RELEASE${ANSI_RESET}"
grep SUPPORT ./modules/motorOms/configure/RELEASE
grep SUPPORT ./modules/motorOms/configure/RELEASE || :