4 VERSION
=$
(scripts
/version.sh
)
12 if [ -e .lock-wscript
]; then
13 mv .lock-wscript .lock-wscript.old
15 .
/configure
--prefix=$DIR --blddir=$BLD \
16 && make && make install
23 find $DIR -name '*.py[co]' |
xargs rm
24 PYTHONVER
=$
(python
-c 'import sys; sys.stdout.write(sys.version[:3])')
29 if [ ! -e python
$i ]; then
30 ln -s python
$PYTHONVER python
$i
35 rsync
-avr $DIR/ $BASENAME/ \
36 && tar czf
$FILE $BASENAME/ \
37 && rm -rf $DIR $BASENAME $BLD
39 if [ -d $DIR.old.$$
]; then
40 mv -v $DIR.old.$$
$DIR
42 if [ -e .lock-wscript.old
]; then
43 mv .lock-wscript.old .lock-wscript
45 if [ -d $HOME/htdocs
/ugit
/releases
]; then
46 mv -v $FILE $HOME/htdocs
/ugit
/releases