pull origin current_branch
This commit is contained in:
parent
0f5b40ce36
commit
4e028ea35b
|
@ -63,8 +63,8 @@ let STAGE_CNT++
|
||||||
if [ $STAGE_CNT -eq $STAGE ]; then
|
if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
if [ -d /etc/portage/.git ]; then
|
if [ -d /etc/portage/.git ]; then
|
||||||
echo "======= STAGE $STAGE: pull portage config changes ======="
|
echo "======= STAGE $STAGE: pull portage config changes ======="
|
||||||
cd /etc/portage && git pull
|
cd /etc/portage && git pull origin `git rev-parse --abbrev-ref HEAD`
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: cd /etc/portage && git pull failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: cd /etc/portage && git pull origin `git rev-parse --abbrev-ref HEAD` failed ;-( =======" && exit $STAGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
let STAGE++
|
let STAGE++
|
||||||
|
|
Loading…
Reference in New Issue