mirror of
https://github.com/openssl/openssl.git
synced 2024-12-16 13:33:49 +08:00
When grepping something starting with a dash, remember to use -e
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
This commit is contained in:
parent
2b8fa1d56c
commit
64b9d84bfd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user