diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2009-01-06 19:20:37 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2009-01-06 19:20:37 +0100 |
commit | 8f3c9be9bae336fe90c08ab783fee92645e1003c (patch) | |
tree | bfef3e6742a505b68c0785ceeef6710c32f4164f /bin | |
parent | 13a7dcb4ff695b898cf79045c862b96064e7761d (diff) |
pkg: vcs_upgrade: Fixed parameter name
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -232,9 +232,9 @@ function vcs_upgrade { typeset IFS=$'\n' line typeset -i merge_ok=0 for line in $(git branch); { - [[ $line == '* master' ]] && ok=1 + [[ $line == '* master' ]] && merge_ok=1 } - if ((ok)) { + if ((merge_ok)) { git pull $PKG_ROOT/${PWD:t} master } else { git fetch $PKG_rOOT/${PWD:t} master |