Author PyAcrisel
Recipients PyAcrisel, vinay.sajip
Date 2017-07-29.13:26:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1501334762.86.0.797069525799.issue30842@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-07-29 13:26:02PyAcriselsetrecipients: + PyAcrisel, vinay.sajip
2017-07-29 13:26:02PyAcriselsetmessageid: <1501334762.86.0.797069525799.issue30842@psf.upfronthosting.co.za>
2017-07-29 13:26:02PyAcrisellinkissue30842 messages
2017-07-29 13:26:02PyAcriselcreate