On Friday 28 September 2012 11:13:22 Evade Flow wrote: > > ... could you put this into a file and run it and tell > > me > > what it prints on your system? > > > > --------------- snip -------------- > > #!/bin/sh > > needtar=1 > > TARVERSION=`tar --version | head -n 1 | cut -d ' ' -f 4` > > float_test() { > > > > echo | awk 'END { exit ( !( '"$1"')); }' > > > > } > > Erm... that *specific* bit prints nothing when pasted into a file and > executed. (Is it really supposed to?)
No, but the rest of the script (the bit following the blank line that you've omitted) is... I wanted to ensure that both the stripping out of the version and float_test were working. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto