From d6ff224b0d92287b881a8d98da88c2ab385a924d Mon Sep 17 00:00:00 2001 From: Shao Yu Lung Date: Thu, 27 Jul 2017 23:45:18 +0800 Subject: [PATCH] fix travis ci hugo job get "cannot create directory" error. --- travis-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis-build.sh b/travis-build.sh index 9d47e09b..c72f51df 100755 --- a/travis-build.sh +++ b/travis-build.sh @@ -26,7 +26,7 @@ if [ -n "${HUGO_VERSION}" ]; then # Download hugo binary curl -L https://github.com/spf13/hugo/releases/download/v$HUGO_VERSION/$HUGO_PACKAGE.tar.gz | tar xz - mkdir $HOME/bin + mkdir -p $HOME/bin mv ./${HUGO_BIN}/${HUGO_BIN} $HOME/bin/hugo # Remove existing docs