On 23 September 2010 17:55, John H Palmieri <jhpalmier...@gmail.com> wrote: > The script searches the files in the current directory, checking > whether the first line contains "python" and "#!". If so, it replaces > that line with "#!/usr/bin/env python". So if the package has > installed a python script, this makes sure it calls Sage's python. I > suppose it is possible that a package could install a python script > (e.g. for its front end) without python being present on the system > yet. > > So rewriting it using bash or sh or perl or some other prerequisite > might make the most sense. > > John
Thank you John. In that case, I think it's better to just remove 29-line 'sage-make_relative' completely and move its functionality to the 426-line bash script ((sage-spkg) that calls 'sage-make_relative' It makes no sense to me to call one script from another like this. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org