* Re: A tiny patch for env.sh
[not found] <CABdhv6LOPHyYXkG+Es__ng_21AZrwiFfVXVLgPWWXTnkiyi59w@mail.gmail.com>
@ 2020-02-01 10:46 ` Marc-F. Lucca-Daniau
0 siblings, 0 replies; only message in thread
From: Marc-F. Lucca-Daniau @ 2020-02-01 10:46 UTC (permalink / raw)
To: Marcin Laszewski, ELKS
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.
^ permalink raw reply [flat|nested] only message in thread