[Python-apps-commits] r3559 - in packages/phatch/trunk/debian (rules)
stani-guest at users.alioth.debian.org
stani-guest at users.alioth.debian.org
Thu Aug 27 11:32:49 UTC 2009
Date: Thursday, August 27, 2009 @ 11:32:48
Author: stani-guest
Revision: 3559
phatch: fixed sed patch in rules
Modified:
packages/phatch/trunk/debian/rules
Modified: packages/phatch/trunk/debian/rules
===================================================================
--- packages/phatch/trunk/debian/rules 2009-08-26 22:47:18 UTC (rev 3558)
+++ packages/phatch/trunk/debian/rules 2009-08-27 11:32:48 UTC (rev 3559)
@@ -14,7 +14,7 @@
binary-install/phatch-cli::
find $(PKG_C_DIR) -name '*.py[co]' -delete
- sed -i -e "s|import phatch|sys.path.extend(['/usr/share/phatch/', '/usr/share/phatch/phatch/']);import phatch|" $(PKG_C_DIR)/usr/bin/phatch
+ sed -i -e "s|import phatch|import sys;sys.path.insert(0,'/usr/share/phatch/');import phatch|" $(PKG_C_DIR)/usr/bin/phatch
binary-install/phatch:: binary-install/phatch-cli
mkdir -p $(PKG_P_DIR)/usr/share/phatch/phatch/lib
More information about the Python-apps-commits
mailing list