[tex-live] DESTDIR not working

Dr. Werner Fink werner at suse.de
Mon Aug 21 15:01:58 CEST 2006


On Mon, Aug 21, 2006 at 02:41:41PM +0200, David Kastrup 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 `...`.  And
> pwd is not required to return a canonical directory name IIRC when it
> is used as a shell builtin.

AFAIK $(...) is POSIX and should be know by a modern shell.
Even ksh knows about.

      Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr


More information about the tex-live mailing list