source: projects/specs/trunk/w/wl-beta/wl-snapshot.sh @ 2750

Revision 2750, 674 bytes checked in by munepi, 13 years ago (diff)

updated emacs, emacs24, wl, yatex, auctex, IIIMECF; added wl-beta; supported new vine-default

  • Property svn:executable set to *
Line 
1#!/bin/bash -x
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=wanderlust
17pkgname=wl
18
19cd "$tmp"
20cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/root checkout $dirname
21cd $dirname
22cat>version.el<<EOF
23(load-file "elmo/elmo-version.el")
24(princ (concat elmo-version "\n"))
25EOF
26VERSION=$(emacs --quick --script version.el 2>/dev/null)
27rm -f version.el
28REVISION=$(date +%Y%m%d)
29find . -type d -name CVS -print0 | xargs -0r rm -rf
30cd ..
31mv $dirname ${pkgname}-${VERSION}
32tar Jcf "$pwd"/${pkgname}-${VERSION}.cvs${REVISION}.tar.xz ${pkgname}-${VERSION}
33cd ${pwd} >/dev/null
34
35exit
Note: See TracBrowser for help on using the repository browser.