Ver código fonte

Merge pull request #8 from erlingwl/master

Ensure bin directory exists
Jakob Truelsen 13 anos atrás
pai
commit
37567460ac
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      scripts/static-build.sh

+ 1 - 0
scripts/static-build.sh

@@ -177,6 +177,7 @@ EOF
 }
 
 function packandcopylinux() {
+	mkdir -p ${BASE}/bin
     WK=${BUILD}/linux-$1/build/wkhtmltopdf
     rm -rf  ${BASE}/bin/wkhtmltopdf-$1  ${BASE}/bin/wkhtmltoimage-$1 ${BASE}/bin/libwkhtmltopdf-$1.tar.lzma
     ${BUILD}/${UPX}/upx --best ${WK}/bin/wkhtmltopdf -o ${BASE}/bin/wkhtmltopdf-$1 || exit 1