mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
SF bug #1395926: Also test for svnversion command on $PATH before using it to
calculate the build number.
This commit is contained in:
parent
64c33ddab1
commit
6bfd8de9e6
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ buildno: $(PARSER_OBJS) \
|
|||
$(SIGNAL_OBJS) \
|
||||
$(MODOBJS) \
|
||||
$(srcdir)/Modules/getbuildinfo.c
|
||||
if test -d $(srcdir)/.svn; then \
|
||||
if test -d $(srcdir)/.svn -a ! -z "`type -t svnversion`" ; then \
|
||||
svnversion $(srcdir) >buildno; \
|
||||
elif test -f buildno; then \
|
||||
expr `cat buildno` + 1 >buildno1; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue