autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Making a path absolute portably


From: Sébastien Hinderer
Subject: Making a path absolute portably
Date: Wed, 10 Jul 2019 13:45:40 +0200

Dear all,

I'd need to compute the absolute path of srcdir in a portable way (it's
okay if it includes symlinks).

Currently I use

abssrcdir=$(cd "${srcdir}"; echo $PWD)
which seems to work fine.

Is that considered portable enough?

Thanks,

Sébastien.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]