From cb153d2b9f40b8da5a86179116136b6bcd6a2e5e Mon Sep 17 00:00:00 2001 From: Nigel Metheringham Date: Fri, 16 Jul 2010 15:32:00 +0100 Subject: [PATCH] Auto latest version pickup in build script --- script/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/build.sh b/script/build.sh index 4f46121..1a9403a 100755 --- a/script/build.sh +++ b/script/build.sh @@ -1,11 +1,13 @@ #!/bin/sh TARGET=${1-/srv/www/vhosts/dev.exim.org} +LATEST=`(cd docbook; ls -1d [0-9].[0-9]* | tail -1)` +set -x script/gen.pl \ --web \ --spec docbook/*/spec.xml \ --filter docbook/*/filter.xml \ - --latest 4.72 \ + --latest ${LATEST} \ --tmpl templates \ --docroot ${TARGET} -- 2.30.2