Hi all,

When issuing some commands from the menu, there could be error when get and 
extract steps are not already done for bootloader/kernel.

That means, after a ptxdist distclean, when selecting the bootloader or kernel 
configuration, you'll end up with the following error:

-----------------------------
bash: -c: line 0: syntax error near unexpected token `;'
bash: -c: line 0: 
`target="/home/airpad/workspace/airpad-i.MX27-2011.02.0/platform-airpad-i.MX27/state/barebox.get";
 target="${target##*/}"; dep="/home/airpad/src/barebox-2010.11.0.tar.bz2"; 
dep="${dep##*/}"; echo "${target} : ${dep}" >> 
/home/airpad/workspace/airpad-i.MX27-2011.02.0/platform-airpad-i.MX27/state/depend.out;
 echo "started : ${target}" >&; target="target: ${target##*/}"; echo -e 
"\n${target//?/-}\n${target}\n${target//?/-}\n"; '
make: *** 
[/home/airpad/workspace/airpad-i.MX27-2011.02.0/platform-airpad-i.MX27/state/barebox.get]
 Error 2

ptxdist: 'barebox menuconfig' returned with an error
------------------------------

Actually, the error is located in the following statement: echo "started: 
${target}" >&${PTXDIST_FD_STDOUT};

The init of the PTXDIST value is not performed, maybe due to a direct call to 
ptxd_make instead of ptxd_make_log which sets up the environment value.

Regards,

Ben

-- 
ptxdist mailing list
[email protected]

Reply via email to