Skip to content

Commit

Permalink
Merge pull request #183 from zph/bug/fix-bash-constant-comparison
Browse files Browse the repository at this point in the history
Fix bash constant comparison in Travis scripts
  • Loading branch information
kornelski authored May 27, 2018
2 parents 014cbc9 + 7fd734f commit cf2cc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/travis_run_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ fi
./build.sh
test -d target/doc && chmod a+rwX target/doc # travis cache process can't delete it otherwise

if [[ "SKIP_HOST_CARGO_EXPORT" != 'True' ]]; then
if [[ "$SKIP_HOST_CARGO_EXPORT" != 'True' ]]; then
if [[ -d "${HOME}/.cargo/git" && -d "${HOME}/.cargo/registry" ]]; then
echo "exporting registry to host_cargo"
cp -Rp "${HOME}/.cargo/git" "${HOME}/host_cargo/git"
Expand Down

0 comments on commit cf2cc30

Please sign in to comment.