[Frugalware-darcs] pacman-tools: fblint: merge get_root() from bumppkg

VMiklos vmiklos at frugalware.org
Sat Jun 30 18:39:50 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman-tools;a=darcs_commitdiff;h=20070629235958-e2957-ff7a225e0e57091640be009577defbb880f20571.gz;

[fblint: merge get_root() from bumppkg
VMiklos <vmiklos at frugalware.org>**20070629235958] {
hunk ./fblint 48
-
+	i=`git rev-parse --git-dir 2>/dev/null`
+	if [ -n "$i" ]; then
+		echo `dirname $i`
+		_scm=git
+		return
+	fi
hunk ./fblint 64
-	basename $i
+	echo $i
+	_scm=darcs
}


More information about the Frugalware-darcs mailing list