This commit is contained in:
Gwenhael Le Moine 2010-11-17 13:36:35 +07:00
parent 1efbe3ebdf
commit 6adb58eb9a

View file

@ -25,14 +25,13 @@ mkdir -p $PKG
cd $TMP
if [ ! -e $REPOSITORY ] ; then
mkdir -p $(dirname $REPOSITORY)
cd $(dirname $REPOSITORY)
hg clone -r release https://go.googlecode.com/hg/ $PRGNAM
hg clone -r release https://go.googlecode.com/hg/ $(dirname $REPOSITORY)/$PRGNAM
else
( cd $REPOSITORY
hg pull -u
)
fi
( cd $REPOSITORY
hg pull -u
)
mkdir -p $PKG$PREFIX/libexec/ $PREFIX/libexec/
cp -R $REPOSITORY $PREFIX/libexec/$PRGNAM
( cd $PREFIX/libexec/$PRGNAM