For example, pseudo-native wants to set LD_LIBRBARY_PATH but setting this
into the environment here causes the existing pseudo (running during do_install)
to poke into paths in /opt and this breaks builds.
The simplest fix is simply not to do this. Comments tweaks to match the code.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
cmd=$1
shift
- # run echo via env to test syntactic validity of the variable arguments
echo "Generating wrapper script for $cmd"
mv $cmd $cmd.real
cmd=$1
shift
- # run echo via env to test syntactic validity of the variable arguments
- env $@ echo "Generating wrapper script for $cmd"
+ echo "Generating wrapper script for $cmd"
mv $cmd $cmd.real
cmdname=`basename $cmd`.real