simplify
This commit is contained in:
parent
1efbe3ebdf
commit
6adb58eb9a
1 changed files with 5 additions and 6 deletions
|
@ -25,13 +25,12 @@ mkdir -p $PKG
|
||||||
cd $TMP
|
cd $TMP
|
||||||
if [ ! -e $REPOSITORY ] ; then
|
if [ ! -e $REPOSITORY ] ; then
|
||||||
mkdir -p $(dirname $REPOSITORY)
|
mkdir -p $(dirname $REPOSITORY)
|
||||||
cd $(dirname $REPOSITORY)
|
hg clone -r release https://go.googlecode.com/hg/ $(dirname $REPOSITORY)/$PRGNAM
|
||||||
hg clone -r release https://go.googlecode.com/hg/ $PRGNAM
|
else
|
||||||
fi
|
( cd $REPOSITORY
|
||||||
|
|
||||||
( cd $REPOSITORY
|
|
||||||
hg pull -u
|
hg pull -u
|
||||||
)
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
mkdir -p $PKG$PREFIX/libexec/ $PREFIX/libexec/
|
mkdir -p $PKG$PREFIX/libexec/ $PREFIX/libexec/
|
||||||
cp -R $REPOSITORY $PREFIX/libexec/$PRGNAM
|
cp -R $REPOSITORY $PREFIX/libexec/$PRGNAM
|
||||||
|
|
Loading…
Reference in a new issue