From 47f9ab46357e7f0cbd0c7f475ade01c2c26aac47 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 12 Aug 2018 12:32:01 +0200 Subject: [PATCH] CI/travis: fix restore from cache MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit a36938500988 fixed this for "~/.cache/nvim-deps/", but strangely not for "~/.cache/nvim-deps-downloads/". ref a36938500988 ref #8316 ref #8281 Seen in https://travis-ci.org/neovim/neovim/jobs/414982972 : Using third-party dependencies from Travis cache (last update: Aug 11 23:00:15 2018). cp: /Users/travis/build/neovim/neovim/deps-downloads/nvim-deps-downloads/…/nvim-deps-downloads/libvterm/a9c7c6fd20fa35e0ad3e0e98901ca12dfca9c25c.tar.gz: name too long (not copied) --- ci/common/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/common/build.sh b/ci/common/build.sh index a3cf64d47a..f4313578c9 100644 --- a/ci/common/build.sh +++ b/ci/common/build.sh @@ -35,7 +35,7 @@ build_deps() { elif test -f "${CACHE_MARKER}" ; then echo "Using third-party dependencies from Travis cache (last update: $(_stat "${CACHE_MARKER}"))." cp -r "${HOME}/.cache/nvim-deps"/. "${DEPS_BUILD_DIR}" - cp -r "${HOME}/.cache/nvim-deps-downloads" "${DEPS_DOWNLOAD_DIR}" + cp -r "${HOME}/.cache/nvim-deps-downloads"/. "${DEPS_DOWNLOAD_DIR}" fi # Even if we're using cached dependencies, run CMake and make to