Making a path absolute portably

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

 



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.

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux