diff options
author | 2019-10-26 13:50:12 +0700 | |
---|---|---|
committer | 2019-10-26 13:50:12 +0700 | |
commit | b2909f30d709fb24d2eb2bdfbc9d4f1948814514 (patch) | |
tree | ac6ef1ff33554db1ae5bea78ed5681c0991ed069 | |
parent | Fix sed command on linux builds (diff) | |
download | ferdium-app-b2909f30d709fb24d2eb2bdfbc9d4f1948814514.tar.gz ferdium-app-b2909f30d709fb24d2eb2bdfbc9d4f1948814514.tar.zst ferdium-app-b2909f30d709fb24d2eb2bdfbc9d4f1948814514.zip |
Attempt at fixing Travis conditional sed
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index e9ae3d7d0..ba8bc86ac 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -18,11 +18,7 @@ git: | |||
18 | submodules: false | 18 | submodules: false |
19 | # Use sed to replace the SSH URL with the public URL, then initialize submodules | 19 | # Use sed to replace the SSH URL with the public URL, then initialize submodules |
20 | before_install: | 20 | before_install: |
21 | - if [ $TRAVIS_OS_NAME == "linux" ]; then | 21 | - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules; else sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules; fi |
22 | sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules | ||
23 | else | ||
24 | sed -i '' 's/git@github.com:/https:\/\/github.com\//' .gitmodules # macOS | ||
25 | fi | ||
26 | - git submodule update --init --recursive | 22 | - git submodule update --init --recursive |
27 | install: | 23 | install: |
28 | - echo do nothing | 24 | - echo do nothing |