Message299466
readlink -f can be replaced by the following sequence:
pushd $fullpath
fullpath=$(pwd -P)
popd
Please note that:
[[ $called != $0 ]] && fullpath="${BASH_SOURCE[@]}" || fullpath=$0
Should be replaced with:
[[ $called != $0 ]] && fullpath="${BASH_SOURCE[0]}" || fullpath=$0
0 instead of @ - that was a misspelling. |
|
Date |
User |
Action |
Args |
2017-07-29 13:26:02 | PyAcrisel | set | recipients:
+ PyAcrisel, vinay.sajip |
2017-07-29 13:26:02 | PyAcrisel | set | messageid: <1501334762.86.0.797069525799.issue30842@psf.upfronthosting.co.za> |
2017-07-29 13:26:02 | PyAcrisel | link | issue30842 messages |
2017-07-29 13:26:02 | PyAcrisel | create | |
|