- echo "$sysroot/bin";
- echo "$sysroot/usr/bin";
- echo "$sysroot/usr/local/bin";
- echo "$TOOLCHAIN/bin";
- echo "$TOOLCHAIN/usr/bin";
- echo "$TOOLCHAIN/usr/local/bin";
+ echo "${sysroot:-$TOOLCHAIN}/bin";
+ echo "${sysroot:-$TOOLCHAIN}/usr/bin";
+ echo "${sysroot:-$TOOLCHAIN}/usr/local/bin";