diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-09 22:34:27 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-09 22:34:27 +0100 |
commit | 64b9d84bfd0da0305a1df9b97ffbdc3898f59e62 (patch) | |
tree | e204d815ab1d755f705fdc7735320717e02e3b2f | |
parent | 2b8fa1d56cd3a41d666994a1b2ed9df0f5e5d1ec (diff) |
When grepping something starting with a dash, remember to use -e
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index ce7e208dbe..0865817ae3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,7 +60,7 @@ matrix: before_script: - sh .travis-create-release.sh $TRAVIS_OS_NAME - tar -xvzf _srcdist.tar.gz - - if echo "$CONFIG_OPTS" | grep "--classic" >/dev/null; then + - if echo "$CONFIG_OPTS" | grep -e "--classic" >/dev/null; then srcdir=.; cd _srcdist; else @@ -83,7 +83,7 @@ before_script: - cd .. script: - - if echo "$CONFIG_OPTS" | grep "--classic" >/dev/null; then + - if echo "$CONFIG_OPTS" | grep -e "--classic" >/dev/null; then cd _srcdist; else cd _build; |