subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1158166 - /subversion/trunk/Makefile.in
Date Tue, 16 Aug 2011 09:28:27 GMT
Author: danielsh
Date: Tue Aug 16 09:28:26 2011
New Revision: 1158166

URL: http://svn.apache.org/viewvc?rev=1158166&view=rev
Log:
Fix issue #2557.

* Makefile.in
  (revision-install): Change directory before running svnversion.
    This is a workaround; it should be reverted once 'svn subcommand
    symlink/to/wc' works.

Modified:
    subversion/trunk/Makefile.in

Modified: subversion/trunk/Makefile.in
URL: http://svn.apache.org/viewvc/subversion/trunk/Makefile.in?rev=1158166&r1=1158165&r2=1158166&view=diff
==============================================================================
--- subversion/trunk/Makefile.in (original)
+++ subversion/trunk/Makefile.in Tue Aug 16 09:28:26 2011
@@ -411,8 +411,9 @@ local-install: @INSTALL_RULES@
 revision-install:
 	test -d $(DESTDIR)$(includedir)/subversion-1 || \
 	  $(MKDIR) $(DESTDIR)$(includedir)/subversion-1
-	(subversion/svnversion/svnversion $(top_srcdir) 2> /dev/null ||  \
-	 svnversion $(top_srcdir) 2> /dev/null ||                        \
+	cd $(top_srcdir) && \
+	(subversion/svnversion/svnversion 2> /dev/null ||  \
+	 svnversion 2> /dev/null ||                        \
 	 echo "unknown";                                                 \
 	) > $(DESTDIR)$(includedir)/subversion-1/svn-revision.txt
 



Mime
View raw message