diff --git a/d/go/go.SlackBuild b/d/go/go.SlackBuild index 0e4f5a08..9f9562a2 100755 --- a/d/go/go.SlackBuild +++ b/d/go/go.SlackBuild @@ -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