forked from epics_driver_modules/motorBase
travis/post-prepare.sh: Ignore return code of grep
When grepping for SUPPORT in the different files, grep may fail, because "SUPPORT" is not present. A failing grep will cause travis to fail. Solution: Ignore the exit code of grep.
This commit is contained in:
1 parent
cafd96b0e9
commit
ae2935c4fd
1 file changed
+2
-2
@@ -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 || :
|
||||
Reference in new issue
Block a user