summaryrefslogtreecommitdiff
path: root/benchmarks/pybench
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2001-04-05 07:15:53 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2001-04-05 07:15:53 +0000
commitf79e81235aeb8c73c250749cc837dcff21c65f25 (patch)
treef287892b46f8da7d74743b5a9b9fb79251b87fc5 /benchmarks/pybench
parentCorrect script used to invoke utility (pass command line arguments to it). (diff)
Correct startup shell script - pass command line arguments to the underlying
Python script.
Diffstat (limited to 'benchmarks/pybench')
-rw-r--r--benchmarks/pybench/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/benchmarks/pybench/Makefile b/benchmarks/pybench/Makefile
index 2f6de786ffae..bec226a0f0c1 100644
--- a/benchmarks/pybench/Makefile
+++ b/benchmarks/pybench/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pybench
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= benchmarks python
MASTER_SITES= http://www.lemburg.com/files/python/
@@ -25,7 +26,7 @@ do-install:
@${MKDIR} ${PREFIX}/share/pybench
@(cd ${WRKSRC} && ${TAR} --exclude README -c -f - .) \
| (cd ${PREFIX}/share/pybench && ${TAR} --unlink -x -f -)
- @printf "#!/bin/sh\n${PYTHON_CMD} ${PREFIX}/share/pybench/pybench.py\n" \
+ @printf '#!/bin/sh\n${PYTHON_CMD} ${PREFIX}/share/pybench/pybench.py "$$@"\n' \
> ${WRKDIR}/pybench.sh
@${MKDIR} ${PREFIX}/share/doc/pybench
@${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/pybench