提交 64b9d84b 编写于 作者: R Richard Levitte

When grepping something starting with a dash, remember to use -e

Reviewed-by: NViktor Dukhovni <viktor@openssl.org>
上级 2b8fa1d5
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册