[Python-checkins] r41919 - python/trunk/Makefile.pre.in
neal.norwitz
python-checkins at python.org
Thu Jan 5 07:38:17 CET 2006
Author: neal.norwitz
Date: Thu Jan 5 07:38:15 2006
New Revision: 41919
Modified:
python/trunk/Makefile.pre.in
Log:
Try to make svnversion test more portable, based on Sjoerd's suggestion
Modified: python/trunk/Makefile.pre.in
==============================================================================
--- python/trunk/Makefile.pre.in (original)
+++ python/trunk/Makefile.pre.in Thu Jan 5 07:38:15 2006
@@ -349,7 +349,7 @@
$(SIGNAL_OBJS) \
$(MODOBJS) \
$(srcdir)/Modules/getbuildinfo.c
- if test -d $(srcdir)/.svn -a ! -z "`type -t svnversion`" ; then \
+ if test -d $(srcdir)/.svn -a "`which svnversion 2> /dev/null`"; then \
svnversion $(srcdir) >buildno; \
elif test -f buildno; then \
expr `cat buildno` + 1 >buildno1; \
More information about the Python-checkins
mailing list