Skip to content

Commit eb4547c

Browse files
committed
Use sh to run script
1 parent d9f1856 commit eb4547c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ script:
6363
*) DOCKER=$TARGET ;;
6464
esac;
6565
if [ -n "$DOCKER" ]; then
66-
bash ci/build-run-docker.sh "$DOCKER" "$TARGET" "$SKIP_TESTS";
66+
sh ci/build-run-docker.sh "$DOCKER" "$TARGET" "$SKIP_TESTS";
6767
else
68-
PATH="$HOME/rust/bin:$PATH" bash ci/run.sh;
68+
PATH="$HOME/rust/bin:$PATH" sh ci/run.sh;
6969
fi
7070
- if [ "${TRAVIS_OS_NAME}" = linux ]; then
7171
shellcheck -e SC1090 -- rustup-init.sh ci/*.sh;
7272
fi
7373

7474
before_deploy:
75-
- bash ci/prepare-deploy-travis.sh
75+
- sh ci/prepare-deploy-travis.sh
7676

7777
deploy:
7878
- provider: s3

ci/build-run-docker.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SKIP_TESTS="$3"
1616

1717
travis_fold start "fetch.image.${TARGET}"
1818
travis_time_start
19-
travis_do_cmd bash ci/fetch-rust-docker.sh "$TARGET"
19+
travis_do_cmd sh ci/fetch-rust-docker.sh "$TARGET"
2020
travis_time_finish
2121
travis_fold end "fetch.image.${TARGET}"
2222

@@ -45,7 +45,7 @@ docker run \
4545
--tty \
4646
--init \
4747
"$DOCKER" \
48-
-c 'PATH="$PATH":/travis-rust/bin exec bash ci/run.sh'
48+
-c 'PATH="$PATH":/travis-rust/bin exec sh ci/run.sh'
4949

5050
# check that rustup-init was built with ssl support
5151
# see https://github.com/rust-lang/rustup.rs/issues/1051

0 commit comments

Comments
 (0)