From 1b7c674d7f4f02b3d292a17d93fac883fd457424 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 24 Feb 2009 12:35:32 +0100 Subject: pkg: Whoops, really apply change to vcs_fix_origin --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pkg b/bin/pkg index 85ddef1..6beeda1 100755 --- a/bin/pkg +++ b/bin/pkg @@ -262,7 +262,7 @@ function vcs_status { # Set the correct origin function vcs_fix_origin { - if [[ ! -e .git/remotes/origin ]] { + if [[ ! -r .git/remotes/origin && ! -r .git/refs/remotes/origin ]] { git remote add origin $PKG_ROOT/$1 } git remote update &> /dev/null -- cgit v1.2.3