summaryrefslogtreecommitdiff
path: root/update-luahbtex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-10-25 08:35:32 +0900
committerNorbert Preining <norbert@preining.info>2019-10-25 08:39:38 +0900
commited2fc1192976b13a5c66513462be1252b1057b22 (patch)
tree6190acd6efeb60e25a998befd0e91252d448a7b4 /update-luahbtex
parent8c11fe37546bc263967ee51a315a45ed9ed17f78 (diff)
update lua(jit)hbtex from Mojca's build-farm and W32TeX
Diffstat (limited to 'update-luahbtex')
-rw-r--r--update-luahbtex41
1 files changed, 41 insertions, 0 deletions
diff --git a/update-luahbtex b/update-luahbtex
new file mode 100644
index 00000000..5971d958
--- /dev/null
+++ b/update-luahbtex
@@ -0,0 +1,41 @@
+#!/bin/bash
+
+server=http://dl.contextgarden.net/build/luatex/
+
+archs="
+amd64-freebsd
+armhf-linux
+i386-darwin
+i386-freebsd
+i386-linux
+i386-solaris
+sparc-solaris
+x86_64-darwinlegacy
+x86_64-linux
+x86_64-solaris
+"
+
+check_and_move() {
+ f=$1
+ a=$2
+ if [ ! -r $f.$a ] ; then
+ echo "Cannot find $f.$a"
+ fi
+ sz=$(stat -c %s $f.$a)
+ if [ $sz -lt 1000000 ] ; then
+ echo "file size suspicious for $f.$a: $sz"
+ else
+ mkdir -p bin/$a
+ mv $f.$a bin/$a/$f
+ fi
+}
+for a in $archs ; do
+ wget -O luahbtex.$a $server$a/luahbtex
+ check_and_move luahbtex $a
+ wget -O luajithbtex.$a $server$a/luajithbtex
+ check_and_move luajithbtex $a
+done
+
+
+
+