[tex-live] DESTDIR not working

David Kastrup dak at gnu.org
Mon Aug 21 14:41:41 CEST 2006

Frank Küster <frank at kuesterei.ch> writes:

> karl at freefriends.org (Karl Berry) wrote:
> http://www.opengroup.org/onlinepubs/009695399/utilities/test.html
> tells me that POSIX does not know about -ef.  So that would be
> if test $pkg = sam2p; then
>   dir1=$(cd $srcdir/utils/sam2p; pwd)
>   dir2=$(cd utils/sam2p; pwd)
>   if test "$dir1" != "$dir2"; then
>     # doing things
>   fi
> fi

$(...) is a bashism, too, IIRC, so you rather should use `...`.  And
pwd is not required to return a canonical directory name IIRC when it
is used as a shell builtin.

Maybe ls -id is somewhat of a help, but you'd still need to check that
you are on the same file system.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

More information about the tex-live mailing list