Instead of using || echo, which IMO is a silly hack, the only proper
way to check the
exit status of a command substitution is:

if ! var=$(command); then
  commands
fi

This patch changes that in makepkg, and gets rid of a pre-optimization
that served
no purpose in in_array().

Thanks.

Attachment: 0001-got-rid-of-OPT_TEMP-hack-and-pointless-pre-optimizat.patch
Description: Binary data



Reply via email to