bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT.


From: Jim Meyering
Subject: Re: [PATCH] tests/test-xalloc-die.sh: Use $EXEEXT.
Date: Wed, 13 Jan 2010 21:57:12 +0100

Eric Blake wrote:

> According to Jim Meyering on 1/13/2010 3:19 AM:
>> I didn't account for that use case.
>> I wonder if there is some way to write/use a command-not-found
>> handler to automate the error-prone "add-$EXE-suffix" at run-time.
>>
>> If at all possible, I would like to avoid the invasive change
>> of adding the $EXE suffix to every just-built-binary invocation
>> in every test script.
>
> mingw and cygwin handle it just fine, but my reading (although not my
> experience) seems to imply that BeOS requires the .exe suffix.  Wine is
> another case where the suffix is (currently) important.  But I do agree
> that it would be much nicer if wine could do things automatically rather
> than appending EXE in all of gnulib.
>
>> If the $EXE suffix is not required in that particular case,
>> an alternative would be to create a temporary directory, D,
>> and populate it with links of the form program ->../.../program.exe

I meant program.exe -> .../original
or program.exe as a copy of the original.

>> (or simply copies, if ln isn't an option) and then prepend "D:" to PATH.




reply via email to

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