Ensure bin directory exists
@@ -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