[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .bashrc: come impostare PATH in modo idempotente?



Il 26 settembre 2009 09.36, Fernando ff77 <ff@bglug.it> ha scritto:
> #se la stringa è nulla
> if [ -z "$PATH_ORIGINAL" ]
> then
> export PATH_ORIGINAL=$PATH
>  fi
> export PATH="/prima/directory:/seconda/directory/:$PATH_ORIGINAL"

funziona, grazie!

pietro


Reply to: