eutils.eclass: make_wrapper, fix 'cd' error handling
authorMichał Górny <mgorny@gentoo.org>
Fri, 22 Jun 2018 08:42:03 +0000 (10:42 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 16 Jul 2018 20:51:41 +0000 (22:51 +0200)
commitbef50010a4899db1896133fad0d6ca1d387b6ec2
tree99de77a152fbd5c7fe67405d3cf2de43ff2bbef3
parent24bed508c5aafd3c4ecd6fac9d6f5a84890982c8
eutils.eclass: make_wrapper, fix 'cd' error handling

Reorder the generated wrapper, and add '&&' after the 'cd' call so that
the wrapper will not try to execute the program if 'cd' command fails.
eclass/eutils.eclass