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