cvs commit: ports/devel/py-setuptools Makefile pkg-plist ports/devel/py-setuptools/files pkg-install.in

poyopoyo at puripuri.plala.or.jp poyopoyo at puripuri.plala.or.jp
Sat Jan 7 23:51:41 UTC 2012


--->  Installing '/packages/10/All/py27-setuptools-0.6c11_2.tgz'
Syntax error: "then" unexpected
pkg_add: command '[ ! -f /usr/local/lib/python2.7/site-packages/easy-install.pth ]; then cp /usr/local/lib/python2.7/site-packages/easy-install.pth.dist /usr/local/lib/python2.7/site-packages/easy-install.pth; fi' failed


$ diff -u /usr/ports/devel/py-setuptools/pkg-plist pkg-plist
--- /usr/ports/devel/py-setuptools/pkg-plist    2012-01-07 01:36:03.000000000 +0900
+++ pkg-plist   2012-01-08 08:47:43.000000000 +0900
@@ -4,7 +4,7 @@
 %%PYTHON_SITELIBDIR%%/setuptools.pth
 @unexec if cmp -s %B/easy-install.pth %B/easy-install.pth.dist; then rm %B/easy-install.pth; fi
 %%PYTHON_SITELIBDIR%%/easy-install.pth.dist
- at exec [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi
+ at exec if [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi
 %%PYTHON_SITELIBDIR%%/site.py
 %%PYTHON_SITELIBDIR%%/site.pyc
 %%PYTHON_SITELIBDIR%%/site.pyo

-- 
kuro


More information about the cvs-ports mailing list