aboutsummaryrefslogtreecommitdiff
path: root/trunk/mkbuild/generic.mkSlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/mkbuild/generic.mkSlackBuild')
-rw-r--r--trunk/mkbuild/generic.mkSlackBuild4
1 files 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"
<git_source> 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