[ITK-users] [ITK-dev] [ANN] ITK 4.9 Release Candidate 3 is ready for testing!

Sean McBride sean at rogue-research.com
Tue Jan 5 16:22:22 EST 2016


On Tue, 5 Jan 2016 14:54:47 -0500, Matt McCormick said:

>To update GDCM, run the
>
>  Modules/ThirdParty/GDCM/UpdateFromUpstream.sh

I've just tried, but it looks like no one has tried this from OS X before... :)

It seems that OS X's sed, dirname, and basename do not accept '--version', and so I hit the 'die' at line 67.  If I change it to 'echo' and let it proceed, I get:

Command "sed" not found
Command "dirname" not found
Command "basename" not found
sed: 1: "/GDCM 20[0-9][0-9]-[0-9 ...": extra characters at the end of p command
Modules/ThirdParty/GDCM/../../../Utilities/Maintenance/UpdateThirdPartyFromUpstream.sh: line 125: upstream-${thirdparty_module_name,,}: bad substitution

I guess it's one of those subtle GNU vs BSD differences tripping things up... I didn't debug further though, I think the author of this script could find the issue faster than me. :)

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada




More information about the Insight-users mailing list