diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -262,9 +262,9 @@ function vcs_status { # Set the correct origin function vcs_fix_origin { - if ! git remote | grep -F origin &> /dev/null; then + if [[ ! -f .git/remotes/origin ]] { git remote add origin $PKG_ROOT/$1 - fi + } git remote update &> /dev/null } |