[Orca-checkins] r401 - trunk/orca/lib

Blair Zajac blair at orcaware.com
Tue Nov 2 21:55:38 PST 2004


Author: blair
Date: Tue Nov  2 21:52:59 2004
New Revision: 401

Modified:
   trunk/orca/lib/Makefile.in
Log:
* lib/Makefile.in
  (install):
    Fix a bug where the install fails with some versions of make if
      svnversion is not found in the PATH, even if svnversion's output
      is captured via ``.
    Redirect the shell's message the svnversion cannot be found to
      /dev/null.


Modified: trunk/orca/lib/Makefile.in
==============================================================================
--- trunk/orca/lib/Makefile.in	(original)
+++ trunk/orca/lib/Makefile.in	Tue Nov  2 21:52:59 2004
@@ -51,8 +51,8 @@
 	    $(INSTALL) -m 0644 $$f $(libdir)/$$d; \
 	  done \
 	done
-	@echo 'cd ..; svnversion . 2>/dev/null'
-	@current_rev="`cd ..; svnversion . 2>/dev/null`"; \
+	@echo "cd ..; sh -c 'svnversion .' 2>/dev/null || true"
+	@current_rev="`cd ..; sh -c 'svnversion .' 2>/dev/null || true`"; \
 	if test "$$current_rev" != "" && \
            test "$$current_rev" != "exported"; then \
 	  echo "Found good svnversion for `cd ..; pwd`: $$current_rev"; \



More information about the Orca-checkins mailing list