Skip to content

Commit

Permalink
fix(eupd): fix default emerge flags assigning
Browse files Browse the repository at this point in the history
  • Loading branch information
DakEnviy committed Nov 18, 2021
1 parent d64e0df commit c72b787
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/eupd
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ if [[ -n "$1" && "$1" =~ ^[^-] ]]; then
shift
fi

if [[ -z "$emerge_flags" ]]; then
emerge_flags="${DEFAULT_EMERGE_FLAGS[@]}"
if [[ "${#emerge_flags[@]}" -eq 0 ]]; then
emerge_flags=("${DEFAULT_EMERGE_FLAGS[@]}")
fi

if [[ "$sync" -eq 1 ]]; then
Expand Down

0 comments on commit c72b787

Please sign in to comment.