Kaydet (Commit) 6bfd8de9 authored tarafından Barry Warsaw's avatar Barry Warsaw

SF bug #1395926: Also test for svnversion command on $PATH before using it to

calculate the build number.
üst 64c33dda
...@@ -349,7 +349,7 @@ buildno: $(PARSER_OBJS) \ ...@@ -349,7 +349,7 @@ buildno: $(PARSER_OBJS) \
$(SIGNAL_OBJS) \ $(SIGNAL_OBJS) \
$(MODOBJS) \ $(MODOBJS) \
$(srcdir)/Modules/getbuildinfo.c $(srcdir)/Modules/getbuildinfo.c
if test -d $(srcdir)/.svn; then \ if test -d $(srcdir)/.svn -a ! -z "`type -t svnversion`" ; then \
svnversion $(srcdir) >buildno; \ svnversion $(srcdir) >buildno; \
elif test -f buildno; then \ elif test -f buildno; then \
expr `cat buildno` + 1 >buildno1; \ expr `cat buildno` + 1 >buildno1; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment