Re: A tiny patch for env.sh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Marcin,

Mmm... thanks for the patch, but it looks like you are not invoking the 'env.sh' script as instructed in the README.

You should rather type the command: ". tools/env.sh" (with a space between '.' and 'tools/env.sh'), otherwise the environment set by the script would be lost on return.

MFLD


Le 31/01/2020 à 11:06, Marcin Laszewski a écrit :
I have ataeched a tiny patch for this simple problem:

....................................................................
$ LANG=C ./tools/env.sh
TOPDIR set to /home/laser/laser/install/elks
ERROR: Missing folder for cross build tools.
        Create an empty folder, either at the top of this ELKS tree,
        or outside this tree and link it from:
/home/laser/laser/install/elks/cross
./tools/env.sh: line 22: return: can only `return' from a function or
sourced script
CROSSDIR set to /home/laser/laser/install/elks/cross
PATH set to /home/laser/laser/install/elks/elks/tools/bin:/home/laser/laser/install/elks/cross/bin:/home/laser/laser/install/openwrt/openwrt/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin/:/home/laser/laser/bin-sh:/home/laser/laser/biomaxima/bin:/home/laser/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin
MAKEFLAGS set to
...............................................................

Sincerely, Marcin.



[Index of Archives]     [Kernel]     [Linux ia64]     [DCCP]     [Linux for ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux