From f90ede5c75029c6f17e19159c7dd05916fe6dc1f Mon Sep 17 00:00:00 2001 From: Douglas Clowes Date: Tue, 18 Sep 2012 09:55:01 +1000 Subject: [PATCH] Find the highest revision in the tree r3736 | dcl | 2012-09-18 09:55:01 +1000 (Tue, 18 Sep 2012) | 1 line --- site_ansto/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site_ansto/Makefile b/site_ansto/Makefile index 816c829e..123eba18 100644 --- a/site_ansto/Makefile +++ b/site_ansto/Makefile @@ -93,7 +93,7 @@ ifeq (,$(LIB_HTTP)) $(warning LIB_HTTP not found) endif -REVISION = $(shell svn info | grep "Revision:" | cut -d ' ' -f 2) +REVISION = $(shell svn info --recursive .. | grep "Revision:" | sort -u | tail -n 1 | cut -d ' ' -f 2) $(shell touch site_ansto.c) $(info Revision text is "${REVISION}") #