simplify
This commit is contained in:
parent
1efbe3ebdf
commit
6adb58eb9a
1 changed files with 5 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue