diff options
author | Thomas Gellekum <tg@FreeBSD.org> | 2000-09-06 12:18:18 +0000 |
---|---|---|
committer | Thomas Gellekum <tg@FreeBSD.org> | 2000-09-06 12:18:18 +0000 |
commit | a8a1754e23ef584b6c74bf5676cae6788b434647 (patch) | |
tree | 48e2339294583b62bf49db36bf3678536ac108b5 /math/py-numeric | |
parent | Work around bug (?) in BSD make that causes HTML manpages to be generated (diff) |
Fix `python: command not found' when python doesn't exist.
Noticed by: steve
Notes
Notes:
svn path=/head/; revision=32331
Diffstat (limited to 'math/py-numeric')
-rw-r--r-- | math/py-numeric/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/py-numeric/Makefile b/math/py-numeric/Makefile index 142d5fe10eb6..b1ccbf97bb8c 100644 --- a/math/py-numeric/Makefile +++ b/math/py-numeric/Makefile @@ -26,8 +26,8 @@ PLIST_SUB= PYVERSION="python${PYVERSION}" DOCDIR= ${PREFIX}/share/doc/py-numeric EXAMPLEDIR= ${PREFIX}/share/examples/py-numeric -PYVERSION!= python -c 'import string, sys; \ - print string.split(sys.version)[0][:3]' \ +PYVERSION!= (python -c 'import string, sys; \ + print string.split(sys.version)[0][:3]') 2> /dev/null \ || echo "1.5" .if ${PYVERSION} == "2.0" |