From 1795784d60cce51b5cbb9e4f26ee282cafac1bc9 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 7 Mar 2009 00:25:52 +0100 Subject: pkg: grep to /dev/null --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pkg b/bin/pkg index 9af61de..7400fdf 100755 --- a/bin/pkg +++ b/bin/pkg @@ -263,7 +263,7 @@ function vcs_status { # Set the correct origin function vcs_fix_origin { if [[ ! -r .git/remotes/origin && ! -r .git/refs/remotes/origin ]] { - fgrep '[remote "origin"]' .git/config || + fgrep '[remote "origin"]' .git/config &> /dev/null || git remote add origin $PKG_ROOT/$1 } git remote update &> /dev/null -- cgit v1.2.3