Hi Leude.
Füge zu meiner PATH variabel per .bash_profile ein Zeile hinzu:
z.B.:
export PATH=$PATH:/opt/<prog>/bin
Naja nach dem überprüfen der PATH variabel kommt:
/opt/<prog>/bin
doppelt vor.
Eigentlich kommt alles doppelt vor was ich manuel hinzufüge.
kann ich die PATH variabel per BASH script irgendwie parsen bevor ich etwas hinzufüge??
Füge zu meiner PATH variabel per .bash_profile ein Zeile hinzu:
z.B.:
export PATH=$PATH:/opt/<prog>/bin
Naja nach dem überprüfen der PATH variabel kommt:
/opt/<prog>/bin
doppelt vor.
Eigentlich kommt alles doppelt vor was ich manuel hinzufüge.
kann ich die PATH variabel per BASH script irgendwie parsen bevor ich etwas hinzufüge??