From f6bce2110fe9ef58a20a90f8679b82d1f4fead35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Tue, 2 Jun 2020 20:25:33 +0000 Subject: [PATCH] Use travis to set the PATH properly --- .travis.yml | 1 + ci/install.sh | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1bb250512e..c26513077f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,6 +37,7 @@ before_install: install: - bash ci/install.sh - export PATH="$PATH:$PWD/qemu" + - export PATH="$PATH:$PWD/mdbook-bin" script: - bash ci/script.sh diff --git a/ci/install.sh b/ci/install.sh index 9b79075d10..624efd87fb 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -27,8 +27,6 @@ main() { tar -xf mdbook.tar.gz mkdir -p mdbook-bin mv mdbook mdbook-bin/ - PATH=$(pwd)/mdbook-bin:$PATH - which mdbook #install_crate mdbook 0.3.1 }