Finally... A portable substr...
authormalc <av1474@comtv.ru>
Sun, 27 Jan 2013 15:16:54 +0000 (27 19:16 +0400)
committermalc <av1474@comtv.ru>
Sun, 27 Jan 2013 15:16:54 +0000 (27 19:16 +0400)
buildall.sh

index 8b02c44..5ad9874 100644 (file)
@@ -19,7 +19,7 @@ root=$(pwd)
 lablgl=http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/dist/lablgl-1.04.tar.gz
 mupdf3p=http://mupdf.com/download/archive/mupdf-thirdparty-2012-08-14.zip
 mupdfrev=a242b4cf1123910c4dba18c75a77f28c5f6d8f33
-mudir=mupdf-a242b4c
+mudir=mupdf-$(printf "%.7s" $mupdfrev)
 mutgz=mupdf-$mupdfrev.tgz
 muurl="http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=$mupdfrev;sf=tgz"