From 44382c5d82bf3bdcab4ce4331ba626ec1e0ff02e Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 24 Feb 2009 12:33:17 +0100 Subject: pkg: vcs_fix_origin: the remote is a directory in newer git versions --- bin/pkg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/pkg b/bin/pkg index fb4b968..85ddef1 100755 --- a/bin/pkg +++ b/bin/pkg @@ -262,7 +262,7 @@ function vcs_status { # Set the correct origin function vcs_fix_origin { - if [[ ! -f .git/remotes/origin ]] { + if [[ ! -e .git/remotes/origin ]] { git remote add origin $PKG_ROOT/$1 } git remote update &> /dev/null -- cgit v1.2.3