summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-07 00:25:52 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-07 00:25:52 +0100
commit1795784d60cce51b5cbb9e4f26ee282cafac1bc9 (patch)
tree53812c86680f0ecdc326c874a54474198c53ed3f
parent8bdaa461a51249ea78cc957d2def9d72598f5c7c (diff)
pkg: grep to /dev/null
-rwxr-xr-xbin/pkg2
1 files changed, 1 insertions, 1 deletions
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