patch-gnuradio
[Top][All Lists]
Advanced

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

[Patch-gnuradio] Quickie to Fix 'sourk'


From: Michael Dickens
Subject: [Patch-gnuradio] Quickie to Fix 'sourk'
Date: Mon, 13 Feb 2012 12:02:13 -0500

When the gr-uhd grc xml files are created, the logic to determine whether 
'source' or 'sink' is created from the python script is too broad in searching 
scope because the complete file path to the output script is provided (e.g., if 
the full path were "/foo/source/bar/uhd_usrp_sink.xml", then the 'source' would 
be selected because 'source' was found).  We really want to switch based solely 
on the output file name -- so, instead of doing a broad search, just do 
"endswith".  The attached patch does just that, and solves this issue for me. - 
MLD

Attachment: uhd_sourk_fix.diff
Description: Binary data


reply via email to

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