Bug 53634 - xmlizer python path wrong
Summary: xmlizer python path wrong
Status: RESOLVED FIXED
Alias: None
Product: docs.kde.org
Classification: Websites
Component: ksgmltools (show other bugs)
Version: unspecified
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Documentation Editorial Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 04:00 UTC by Sean Chittenden
Modified: 2003-01-30 13:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
kdoctools/xmlizer patch (191 bytes, patch)
2003-01-30 04:02 UTC, Sean Chittenden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sean Chittenden 2003-01-30 04:00:38 UTC
Version:           3.1 (using KDE KDE 3.1)
Installed from:    FreeBSD Ports
Compiler:          gcc 
OS:          FreeBSD

Simply put, xmlizer has /usr/bin/python hard coded into it.  python can be installed anywhere, and is in /usr/local/bin on FreeBSD.  The ideal fix would be to have it detect and honor a prefix autoconf search/replace, but the quick fix is to use /usr/bin/env to call python.

--- kdoctools/xmlizer.orig      Wed Jan 29 17:17:40 2003
+++ kdoctools/xmlizer   Wed Jan 29 17:17:57 2003
@@ -1,4 +1,4 @@
-#! /usr/bin/python
+#! /usr/bin/env python

 import re, sys, os, string
Comment 1 Sean Chittenden 2003-01-30 04:02:02 UTC
Created attachment 833 [details]
kdoctools/xmlizer patch

Decent enough fix given the importance, IMHO.
Comment 2 Stephan Kulow 2003-01-30 13:06:45 UTC
Subject: kdelibs/kdoctools

CVS commit by coolo: 

this was needed to convert KDE 2.1 docu. Now that we're having 3.1 behind
us, it's time to say goodbye
CCMAIL: 53634-close@bugs.kde.org


  R            xmlizer   1.3