Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-tools.git;a=commitdiff;h=8e1b229329767ef102dfa450c622c312874c2e0f

commit 8e1b229329767ef102dfa450c622c312874c2e0f
Author: crazy <[email protected]>
Date:   Sun Feb 14 00:28:19 2016 +0100

fblint
* missing local

diff --git a/fblint b/fblint
index ec660d5..2de0134 100755
--- a/fblint
+++ b/fblint
@@ -1,22 +1,22 @@
#!/bin/bash
-#
+#
#   fblint for Frugalware
-#
-#   Copyright (c) 2006, 2007, 2008, 2009, 2010 by Miklos Vajna 
<[email protected]>
-#
+#
+#   Copyright (c) 2006, 2007, 2008, 2009, 2010 - 2016 by Miklos Vajna 
<[email protected]>
+#
#   This program is free software; you can redistribute it and/or modify
#   it under the terms of the GNU General Public License as published by
#   the Free Software Foundation; either version 2 of the License, or
#   (at your option) any later version.
-#
+#
#   This program is distributed in the hope that it will be useful,
#   but WITHOUT ANY WARRANTY; without even the implied warranty of
#   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#   GNU General Public License for more details.
-#
+#
#   You should have received a copy of the GNU General Public License
#   along with this program; if not, write to the Free Software
-#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
+#   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
#   USA.
#

@@ -44,7 +44,8 @@ check()

get_root()
{
-       local i
+       local i _scm
+
i=`git rev-parse --git-dir 2>/dev/null`
if [ -n "$i" ]; then
echo $(basename $(dirname $i))
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to