Thread
:
How to source ~/.profile through a script with effects lasting after the script has run?
View Single Post
白い熊
2011-09-08 , 14:02
Posts: 451 | Thanked: 334 times | Joined on Sep 2009
#
14
Works on the N900 as well through "exec sh" inside the script.
I want to build a universal script that will exec either bash or sh, depending on which environment it is run.
How do I determine programatically whether exec sh or bash inside a script? An equivalent of `echo $0` ran from within the terminal...
Quote & Reply
|
白い熊
View Public Profile
Send a private message to 白い熊
Find all posts by 白い熊