diff options
Diffstat (limited to '')
-rwxr-xr-x | pack | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ | |||
1 | #!/bin/bash | ||
2 | FILES="makefile HISTORY test.lua re.lua lpeg.html re.html lpeg-128.gif \ | ||
3 | lptypes.h lpcap.h lpcap.c lpcode.h lpcode.c lpprint.h lpprint.c \ | ||
4 | lptree.h lptree.c lpvm.h lpvm.c" | ||
5 | NAME=lpeg-$1 | ||
6 | DIRN=versions/$NAME | ||
7 | mkdir $DIRN | ||
8 | co $FILES | ||
9 | mv $FILES $DIRN | ||
10 | cd versions | ||
11 | tar --create --gzip --file=$NAME.tar.gz $NAME | ||
12 | # scp $NAME.tar.gz obaluae:public_html/lpeg/ | ||
13 | # ssh obaluae "rm public_html/lpeg/*.html" | ||
14 | cd $NAME | ||
15 | # scp *.html obaluae:public_html/lpeg/ | ||