[ python-Bugs-1395926 ] make fails trying to run svnversion

SourceForge.net noreply at sourceforge.net
Tue Jan 3 15:31:24 CET 2006


Bugs item #1395926, was opened at 2006-01-03 06:30
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1395926&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: M.-A. Lemburg (lemburg)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: make fails trying to run svnversion

Initial Comment:
If you run make in a directory that has an .svn subdir,
make fails if there's no usable subversion installation
on the PATH:

if test -d ./.svn; then \
        svnversion . >buildno; \
elif test -f buildno; then \
        expr `cat buildno` + 1 >buildno1; \
        mv -f buildno1 buildno; \
else echo 1 >buildno; fi
/bin/sh: svnversion: command not found

The above test should probably also check for the
availability of svnversion.


----------------------------------------------------------------------

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2006-01-03 09:31

Message:
Logged In: YES 
user_id=12800

r41907 -- added a test for svnversion command on $PATH

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1395926&group_id=5470


More information about the Python-bugs-list mailing list