ECL output file name, true vs /bin/true, NetBSD; was: Maxima 5.16.1 release
Subject: ECL output file name, true vs /bin/true, NetBSD; was: Maxima 5.16.1 release
From: Aleksej Saushev
Date: Thu, 14 Aug 2008 23:21:57 +0400
"Robert Dodier" <robert.dodier at gmail.com> writes:
> On 8/11/08, Aleksej Saushev <asau at inbox.ru> wrote:
>
>> No "/bin/true" and "/bin/false" on NetBSD, they are shell builtins:
>>
>> --- src/Makefile.in.orig 2008-08-10 21:45:11.000000000 +0400
>> +++ src/Makefile.in 2008-08-12 02:38:35.000000000 +0400
>> @@ -2965,7 +2965,7 @@
>> @ECL_TRUE@ mv maxima binary-ecl/maxima || \
>> @ECL_TRUE@ success=false; \
>> @ECL_TRUE@ test -f maxima-tmp && mv maxima-tmp maxima ; \
>> - at ECL_TRUE@ test $$success = true && /bin/true || /bin/false
>> + at ECL_TRUE@ test $$success = true && true || false
>>
>> @ECL_TRUE at install-ecl:
>> @ECL_TRUE@ $(mkinstalldirs) "$(DESTDIR)$(verpkglibdir)/binary-ecl"
>
> Thanks for the notice, Aleksej.
>
> In this case we'll have to change src/Makefile.am (not src/Makefile.in
> since that is generated from the .am file).
Sure.
Actually, I don't understand, what is the sense in "test && true || false",
this should be just "test", in my opinion. I tried to imagine some quirk,
that may require it, but in vain.
--
CE3OH...