From: Alan W. I. <ir...@be...> - 2004-02-18 20:32:27
|
On 2004-02-18 11:25-0800 Alan W. Irwin wrote: I just realized the source of the problem in the macro. The following line is there: python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print` but the subsequent logic gets screwed if the find command finds more than one real file which satisfies that wildcarded name. Apparently, MacOSX does have two files which satisfy the criterion and this causes the problem. One solution would be to loop through the resulting files returned by the find. I will work on that and probably commit it, but Rafael, if you find a more elegant way to fix the two-or-more file problem, go ahead and make your own commit. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |