3 echo "usage: mktar [BASENAME]"; exit -1
11 if [ -e .lock-wscript
]; then
12 mv .lock-wscript .lock-wscript.old
14 .
/configure
--prefix=$DIR --blddir="$BLD" \
15 && make && make install
22 find $DIR -name '*.py[co]' |
xargs rm
23 PYTHONVER
=`python -c 'import sys; sys.stdout.write(sys.version[:3])'`
28 if [ ! -e python
$i ]; then
29 ln -s python
$PYTHONVER python
$i
34 rsync
-avr $DIR/ "$1/" \
35 && tar czf
"$FILE" "$1/" \
36 && rm -rf $DIR "$1" "$BLD"
38 if [ -d $DIR.old.$$
]; then
39 mv -v $DIR.old.$$
$DIR
41 if [ -e .lock-wscript.old
]; then
42 mv .lock-wscript.old .lock-wscript
44 if [ -d $HOME/htdocs
/ugit
/releases
]; then
45 mv -v "$FILE" $HOME/htdocs
/ugit
/releases