[Rtai] [PATCH] datarootdir in rtai-config

Paul paul_c at tuxcnc.org
Thu Apr 16 19:47:57 CEST 2015


On some builds, datadir is defined as rootdatadir within the 
automake/autoconf build system. This is a (small) problem when using 
rtai-config to query at least one option. e.g.:

$ /usr/realtime-rtai/rtai-config --config
/rtai/config-rtai-magma

Expected result should be:
$ /usr/realtime/bin/rtai-config --config
/usr/realtime/share/rtai/config-rtai-magma

The attached patch fixes the above issue.


Regards, Paul.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtai-config_datarootdir.patch
Type: text/x-diff
Size: 532 bytes
Desc: not available
URL: <http://mail.rtai.org/pipermail/rtai/attachments/20150416/08d70d2b/attachment.patch>


More information about the Rtai mailing list