diff options
Diffstat (limited to 'bin/pkg')
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |