[CI][ossfuzz] Fix string equal

This commit is contained in:
Nick Terrell 2020-08-24 11:22:57 -07:00
parent 34fe7c9d7f
commit f803995b77

View File

@ -12,7 +12,7 @@ then
fi fi
# Modify the oss-fuzz Dockerfile so that we're checking out the current branch on travis. # Modify the oss-fuzz Dockerfile so that we're checking out the current branch on travis.
if [ "x${TRAVIS_PULL_REQUEST}" -eq "xfalse" ] if [ "x${TRAVIS_PULL_REQUEST}" = "xfalse" ]
then then
sed -i "s@https://github.com/lz4/lz4.git@-b ${TRAVIS_BRANCH} https://github.com/lz4/lz4.git@" /tmp/ossfuzz/projects/lz4/Dockerfile sed -i "s@https://github.com/lz4/lz4.git@-b ${TRAVIS_BRANCH} https://github.com/lz4/lz4.git@" /tmp/ossfuzz/projects/lz4/Dockerfile
else else