Am 09.03.2016 um 22:53 schrieb Richard Levitte:
The branch master has been updated
        via  64b9d84bfd0da0305a1df9b97ffbdc3898f59e62 (commit)
       from  2b8fa1d56cd3a41d666994a1b2ed9df0f5e5d1ec (commit)


- Log -----------------------------------------------------------------
commit 64b9d84bfd0da0305a1df9b97ffbdc3898f59e62
Author: Richard Levitte <levi...@openssl.org>
Date:   Wed Mar 9 22:34:27 2016 +0100

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

Strictly speaking "grep -e" has another meaning. If a leading dash is the only problem to fix, one can use "grep --", so the below would become

if echo "$CONFIG_OPTS" | grep -- "--classic" >/dev/null; then

Regards,

Rainer

     Reviewed-by: Viktor Dukhovni <vik...@openssl.org>

-----------------------------------------------------------------------

Summary of changes:
  .travis.yml | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ce7e208..0865817 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;
--
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to