I have made some checks and current solution should work on lot of UNIX
shells not only bash, but still needs a shell.

Another option might be some scripting magic with configure.ac and .m4
macros which I want to avoid or should I try to do this?


Dne 3.1.2015 v 18:59 Uwe Hermann napsal(a):
> Hi,
>
> On Tue, Dec 30, 2014 at 05:38:15AM +0100, Jiří Pinkava wrote:
>> I have trouble installing libsigrok on Gentoo because python bindings
>> during installation phase does not respect DESTDIR variable and try to
>> install *.py files directly into /usr/lib/....
>>
>> Attached patch solves this problem, it add --root parameter if DESTDIR
>> is set. In order to achieve this bash variable expansion is used, this
>> might possibly lead to portability issue?
> The patch looks good in general, but it should not depend on bash
> indeed. Can you rewrite it in a more portable fashion please?
>
> Some hints may be available e.g. here (didn't look myself):
>
> https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/html_node/Portable-Shell.html
> http://pubs.opengroup.org/onlinepubs/009695399/utilities/contents.html
>
>
> Uwe.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to