From fa7cfdd850913278915f74408e47d2c8a39142af Mon Sep 17 00:00:00 2001 From: rhatto Date: Mon, 30 Mar 2009 02:25:13 +0000 Subject: generic model: more fixes for downloading git repositories git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@805 04377dda-e619-0410-9926-eae83683ac58 --- trunk/mkbuild/generic.mkSlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/mkbuild/generic.mkSlackBuild b/trunk/mkbuild/generic.mkSlackBuild index de74ed5..d2049e0 100644 --- a/trunk/mkbuild/generic.mkSlackBuild +++ b/trunk/mkbuild/generic.mkSlackBuild @@ -144,9 +144,9 @@ cd "$PKG_SRC" off # Get git source code cd "$SRC_DIR" -SND_DIR="`basename [[DOWNLOAD FOLDER URL]]`" +SND_DIR="$PKG_NAME.git" -if [ "`find "$SRC_DIR/" -name .git`" != "" ] && [ -d "$SRC_DIR/$SND_DIR" ]; then +if [ "`find "$SRC_DIR/" -name *.git`" != "" ] && [ -d "$SRC_DIR/$SND_DIR" ]; then cd $SND_DIR git pull || exit $ERROR_VCS else -- cgit v1.2.3