If I run export PATH=$PATH:/home/mike/bin/*:/home/mike/app/* from a command line it works fine, but if I put it into a bash script, it doesn't work (even with a restart). I have also tried including double-quotes and curly brackets for the variables.
Asked
Active
Viewed 3,672 times
0
user8897013
- 131
1 Answers
0
You should only add path in this environnement in this variable. Change your script to use the following command
export PATH="$PATH:/home/mike/bin/:/home/mike/app/"
ob2
- 3,653