On 12/21/05, Michael Jennings <mej@xxxxxxxxx> wrote: > If you would like to propose a portable method of obtaining the path > of the invoked binary 100% of the time (i.e., argv[0] and searching > $PATH are OUT), I'd like to see it. The idiom dn0=`dirname $0` SOURCEDIR=`cd $dn0; pwd` seems to reliably do it for shell scripts. I've never quite understood how... _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list