]> git.ipfire.org Git - thirdparty/automake.git/commit
python: fix exit status handling with uninstall
authorMike Frysinger <vapier@gentoo.org>
Wed, 16 Feb 2022 03:25:35 +0000 (22:25 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 16 Feb 2022 03:25:35 +0000 (22:25 -0500)
commit6097de0a54d70f7724c333a05e85299c0d2f3876
tree7b1fe0b3197c1a4e86774fedb1d45d4b9c07def3
parent720a1153134b833de9298927a432b4ea266216fb
python: fix exit status handling with uninstall

The st variable is set at the top of this shell script, and then here
is a pipeline where it tries to update it in the subshell.  But since
setting variables in a subshell doesn't propagate back up, it doesn't
actually work.  Have the final subshell in the pipeline manage its own
exit status and exit with that so that the final status of the pipeline
is the right value.

* lib/am/python.am: Fix final subshell exit status passing.
lib/am/python.am