| Summary: | sed statement in pyopengl-2.0.1 wrong | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marius Mauch (RETIRED) <genone> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
totally right, I didn't realize that $(get_libdir) can return subpaths. Thanks for the notice. Fixed in the tree. |
SEDED=""" s/tk = Tkinter.Tk()/tk = ${TKEQ}/; s/tk.getvar('tk_version')/str(Tkinter.TkVersion)/g; s/tk.getvar( 'tk_version' )/str(Tkinter.TkVersion)/g; s/tk.getvar('tcl_version')/str(Tkinter.TclVersion)/g; s/tk.getvar('tk_library')/${TKLIBRARY}/g; s/tk.getvar('tcl_library')/${TCLLIBRARY}/g;""" sed -i -e "${SEDED}" togl_setup.py Doesn't work. The variables might/will contain slashes which will completely break the sed command. Colon would be a better choice.