diff options
author | wilson <wilson.wen.chn@gmail.com> | 2014-09-12 16:21:21 +0800 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2014-09-18 14:05:19 +0200 |
commit | 989764067073997586d2d51352bc76cc73d754f7 (patch) | |
tree | 9b0dacd3681886b3f330769f6c04dfac96bfaa4d /rnd.h | |
parent | ef7737c5da9e770463a33d46316986cd37298e4a (diff) |
build: nacl: Propagate nacl specific environment variables to parent shell
Use source command to execute the nacl_build.sh script in order to
change parent shell's environment variable needed to find the just built
libnacl.
wilson says:
> As I use "make nacl" to install nacl, the nacl_path.sh would be execute.
> Then NACL_INC_DIR env variable will be set and appended to ~/.bashrc. In
> nacl_build.sh, it used 'source' command to execute nacl_path.sh, however
> the NACL_INC_DIR variable only took effect in this script context, but
> not in the shell I was running.
> I think we need the 'source' command to execute nacl_build.sh so that we
> don't need to restart the shell for further installation.
Signed-off-by: wilson <wilson.wen.chn@gmail.com>
[tklauser: Reformated commit message]
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'rnd.h')
0 files changed, 0 insertions, 0 deletions