couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject ./configure question
Date Fri, 03 Apr 2015 13:38:22 GMT
Hey all / Paul,

can anyone unpack this line from our ./configure script for me?

  rootdir="$(cd "${0%/*}" 2>/dev/null; echo "$PWD")"

As far as I can tell, this results in $PWD being assigned to rootdir, what is the other magic?
:)

Thanks!
Jan
-- 







Mime
View raw message