gentooup: fix "" taken as positional argument; in return fix another shellchecker issue
This commit is contained in:
parent
18e525f8ee
commit
f0e266d64d
1 changed files with 2 additions and 3 deletions
|
@ -54,7 +54,7 @@ if [[ $CHROOTED == 1 ]] ; then
|
|||
fi
|
||||
|
||||
#any parameter prevents syncing
|
||||
if [[ ! -z ${SYNC_COMMAND} ]] ; then
|
||||
if [[ -n ${SYNC_COMMAND} ]] ; then
|
||||
${SYNC_COMMAND}
|
||||
eix-update >& /dev/null
|
||||
fi
|
||||
|
@ -75,8 +75,7 @@ myemerge() {
|
|||
echo "emerge return value: $?"
|
||||
}
|
||||
|
||||
myemerge "$PORTAGE_ASK" "${PORTAGE_UPGRADE_OPTIONS[@]}" "${PORTAGE_OPTIONS[@]}" world
|
||||
echo "emerge return value: $?"
|
||||
myemerge $PORTAGE_ASK "${PORTAGE_UPGRADE_OPTIONS[@]}" "${PORTAGE_OPTIONS[@]}" world
|
||||
if [[ $INTERACTIVE == 1 ]] ; then
|
||||
dispatch-conf
|
||||
echo "dispatch-conf return value: $?"
|
||||
|
|
Loading…
Add table
Reference in a new issue