pull origin current_branch

This commit is contained in:
Kolan Sh 2012-10-22 08:55:27 +04:00
parent 0f5b40ce36
commit 4e028ea35b
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ let STAGE_CNT++
if [ $STAGE_CNT -eq $STAGE ]; then
if [ -d /etc/portage/.git ]; then
echo "======= STAGE $STAGE: pull portage config changes ======="
cd /etc/portage && git pull
[ 0 -ne $? ] && echo "Stage $STAGE: cd /etc/portage && git pull failed ;-( =======" && exit $STAGE
cd /etc/portage && git pull origin `git rev-parse --abbrev-ref HEAD`
[ 0 -ne $? ] && echo "Stage $STAGE: cd /etc/portage && git pull origin `git rev-parse --abbrev-ref HEAD` failed ;-( =======" && exit $STAGE
fi
let STAGE++