[tex-live] DESTDIR not working
Frank Küster
frank at kuesterei.ch
Mon Aug 21 15:18:05 CEST 2006
David Kastrup <dak at gnu.org> wrote:
> 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 `...`.
No, POSIX also knows about it (and actually I've been told that it is
older than ``):
http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_06_03
> And
> pwd is not required to return a canonical directory name IIRC when it
> is used as a shell builtin.
Any idea where this would be documented, or of an example shell where
this becomes a problem?
http://www.opengroup.org/onlinepubs/009695399/utilities/pwd.html says
that pwd should write to stdout "an absolute pathname of the current
working directory, which does not contain the filenames dot or
dot-dot", and does not say otherwise in
http://www.opengroup.org/onlinepubs/009695399/utilities/xcu_chap01.html#tag_01_13
Regards, Frank
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
More information about the tex-live
mailing list