diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-06-23 15:52:43 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-06-25 14:36:44 +0200 |
commit | 421a414b82cd560254a6570c85d90c07f981eb5d (patch) | |
tree | 1b7f9408900f24564ff11e602d520f6f06fa5939 | |
parent | 870f927c1c6844bcf0c70dd9ab0150ba300cb085 (diff) | |
download | ptxdist-421a414b82cd560254a6570c85d90c07f981eb5d.tar.gz ptxdist-421a414b82cd560254a6570c85d90c07f981eb5d.tar.xz |
[ptxdist] bash-feature: set PATH in init-file
Prior to the execution of the bash the PATH already contains ptxdist's
sysroot-host. If the PATH variable is overwritten in a config file, the
sysroot-host PATH is lost, so set PATH in our init-file.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rwxr-xr-x | bin/ptxdist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/ptxdist b/bin/ptxdist index 71ec41c35..466c71285 100755 --- a/bin/ptxdist +++ b/bin/ptxdist @@ -1829,6 +1829,7 @@ parse_second() . /etc/bash.bashrc . ~/.bashrc PS1="[ptx] \${PS1}" +PATH="${PATH}" EOF "${BASH}" --init-file "${bashrc}" else |