source: projects/specs/trunk/t/texmacro-luatexja/luatexja-snapshot.sh @ 5262

Revision 5262, 555 bytes checked in by munepi, 12 years ago (diff)

NEW: texmacro-luatexja

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3set -e
4
5tmp=$(mktemp -d)
6
7trap cleanup EXIT
8cleanup() {
9    set +e
10    [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
11}
12
13unset CDPATH
14pwd=$(pwd)
15
16dirname=luatexja
17
18cd "$tmp"
19git clone git://git.sourceforge.jp/gitroot/luatex-ja/luatexja.git $dirname
20cd $dirname
21VERSION=0.0.0
22REVISION=`date +%Y%m%d`
23find . -type d -name .git -print0 | xargs -0r rm -rf
24find . -type f -name ".git*" | xargs rm -f
25cd ..
26mv $dirname ${dirname}-${VERSION}
27tar Jcf "$pwd"/${dirname}-${VERSION}.git${REVISION}.tar.xz ${dirname}-${VERSION}
28cd ${pwd} >/dev/null
29
30exit
Note: See TracBrowser for help on using the repository browser.