Explorar el Código

fix travis ci hugo job get "cannot create directory" error.

Shao Yu Lung hace 7 años
padre
commit
d6ff224b0d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      travis-build.sh

+ 1 - 1
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