diff options
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 079e929..507399b 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -349,7 +349,7 @@ buildno: $(PARSER_OBJS) \ $(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; \ |