# backup portdir so get_portdir() doesn't give false results later
portdir_backup="${PORTDIR}"
- ACTIVE_FLAGS[0]="$(reduce_incrementals ${USE})"
+ ACTIVE_FLAGS[0]="$(reduce_incrementals "${USE}")"
USE=""
for x in $(get_all_make_conf); do
source "${x}"
- ACTIVE_FLAGS[1]="$(reduce_incrementals ${ACTIVE_FLAGS[1]} ${USE})"
+ ACTIVE_FLAGS[1]="$(reduce_incrementals "${ACTIVE_FLAGS[1]}" "${USE}")"
done
USE=""
for x in $(get_all_make_defaults); do
source "${x}"
ACTIVE_FLAGS[2]="${ACTIVE_FLAGS[2]} ${USE}"
done
- ACTIVE_FLAGS[2]="$(reduce_incrementals ${ACTIVE_FLAGS[2]})"
+ ACTIVE_FLAGS[2]="$(reduce_incrementals "${ACTIVE_FLAGS[2]}")"
USE=""
source "${MAKE_GLOBALS_PATH}"
- ACTIVE_FLAGS[3]="$(reduce_incrementals ${USE})"
+ ACTIVE_FLAGS[3]="$(reduce_incrementals "${USE}")"
# restore saved env variables
USE="${ACTIVE_FLAGS[0]}"