apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Sjölund <erik.sjol...@home.se>
Subject apr-config.in bug + fix
Date Thu, 28 Nov 2002 15:12:32 GMT
I had some problems with apr-config giving back a false path. This happend 
because apr-config was invoked under a path name with sym links.

Looking into that script I saw a line trying to filter out any symlinks
of a path.

thisdir="`cd $thisdir && pwd`"

The problem is the pwd.
In bash the built-in pwd doesn't give the physical path ( you can with option 
-P )

/bin/pwd is probably a better choice.

The attached patch seems to fix the problem.

Erik Sjölund
View raw message