Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Jan 2012 08:51:38 +0900
From:      poyopoyo@puripuri.plala.or.jp
To:        Michael Scheidell <scheidell@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/devel/py-setuptools Makefile pkg-plist ports/devel/py-setuptools/files pkg-install.in
Message-ID:  <86r4zbul4l.wl%poyopoyo@puripuri.plala.or.jp>
In-Reply-To: <201201061636.q06Ga3BI017302@repoman.freebsd.org>
References:  <201201061636.q06Ga3BI017302@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--->  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
-@exec [ ! -f %B/easy-install.pth ]; then cp %B/%f %B/easy-install.pth; fi
+@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r4zbul4l.wl%poyopoyo>