bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] tests/init.sh: new file to be used via most *.sh tests


From: Bruno Haible
Subject: Re: [PATCH] tests/init.sh: new file to be used via most *.sh tests
Date: Thu, 26 Nov 2009 11:08:09 +0100
User-agent: KMail/1.9.9

Jim Meyering wrote:
> srcdir is expected to come from automake, and there, it is guaranteed
> to be sanitized.  It is usually simply "." or ".." or the name of a
> package's subdirectory like "src" or "lib".

But it can contain absolute directory names. For example, when I have a
package in /home/bruno/data/tmp/testdir2 and build it in /tmp/build
by running
    /home/bruno/data/tmp/testdir2/configure
    make
    make check
then an 'echo "$srcdir"' command will show
    /home/bruno/data/tmp/testdir2/gltests

Bruno




reply via email to

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