This commit is contained in:
Gwenhael Le Moine 2010-10-24 10:14:59 +07:00
parent 7adc789dbd
commit ac73d50c3c

View file

@ -24,7 +24,7 @@ rm -fr $PKG
( cd $REPOSITORIES ( cd $REPOSITORIES
if [ -e $REPOSITORIES/$PRGNAM ] ; then if [ -e $REPOSITORIES/$PRGNAM ] ; then
( cd $REPOSITORIES/$PRGNAM ( cd $REPOSITORIES/$PRGNAM
hg pull --rebase --update hg pull --update
) )
else else
hg clone http://bitbucket.org/BruceEckel/python-3-patterns-idioms $REPOSITORIES/$PRGNAM hg clone http://bitbucket.org/BruceEckel/python-3-patterns-idioms $REPOSITORIES/$PRGNAM
@ -33,7 +33,7 @@ rm -fr $PKG
mkdir -p $PKG$PREFIX/doc/ mkdir -p $PKG$PREFIX/doc/
cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM cp -R $REPOSITORIES/$PRGNAM $PKG$PREFIX/doc/$PRGNAM
find $PKG$PREFIX/doc/$PRGNAM -name \.DS\* -o -name \.hg\*-exec rm -fr {} \; find $PKG$PREFIX/doc/$PRGNAM -name \.DS\* -o -name \.hg\* -exec rm -fr {} \;
( cd $PKG ( cd $PKG
mkdir -p install mkdir -p install