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. -- http://hermann-uwe.de | http://randomprojects.org | http://sigrok.org ------------------------------------------------------------------------------ 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

