User forums > Help

Script execution and environment issue

<< < (2/2)

Folco:
Yes, bash is my default term.

"echo $PATH" in my build.sh script sends /usr/bin:/home/folco/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/bin:/usr/games.
Indeed, /usr/local/share/gcc4ti/bin is not here... :(
Always in this script, "echo $TERM" and "echo $SHELL" says the same thing that in a console started from the K menu:

--- Code: ---folco@Weygand:~$ echo $TERM
xterm
folco@Home:~$ echo $SHELL
/bin/bash
folco@Home:~$ echo $PATH
/home/folco/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/share/gcc4ti/bin
--- End code ---

I didn't find anything in ~/* and /etc/ to configure konsole, to say it to use ~/.bashrc at boot.
In the "Settings -> Environment -> General settings" dialog, I have set :
- Shell to run command in : "/bin/bash -c"
- Terminal to launch console programs : "konsole"

If you think this is not a CB issue, I will ask on another forum...
Thanks for your help.

oBFusCATed:
Yes, this is not a C::B issue...

You'll have better luck in your distro's forum/ML.
Another option is to try another terminal, but I think this is a distro/configuration problem.

Folco:
Ok, thank you for all the help already given. :)

Folco:
Eh... my problem is solved... but I didn't change anything !
Perhaps I needed to reboot C::B, or my PC ? I don't know, but I did it, and now it works, without changing anything in the configuration I gave here (2 posts above).

So if you get trouble with shell/console when setting up a tool, just try to restart C::B or your PC.

Thanks again. :)

oBFusCATed:
Linux is not windows, it doesn't require a restart for most of the things :)
For changes in the env will be detected, you log out then log in :)

Navigation

[0] Message Index

[*] Previous page

Go to full version