From 8d22f1971defbc4b67814ec9e6c5bfbb149c3a96 Mon Sep 17 00:00:00 2001 From: jgarcia Date: Wed, 10 Oct 2007 08:28:37 +0000 Subject: [PATCH] Small script to add CVS timestamp into the ECL binary --- src/util/tag | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 src/util/tag diff --git a/src/util/tag b/src/util/tag new file mode 100755 index 000000000..e6c5d8dbc --- /dev/null +++ b/src/util/tag @@ -0,0 +1,11 @@ +#!/bin/sh +k="CVS `date +"%Y-%m-%d"`" +file="src/lsp/config.lsp.in" +if [ -f $file ]; then + echo "Tagging ECL with date $k" + sed "s,@PACKAGE_VERSION@.*\",@PACKAGE_VERSION@ ($k)\",g" < $file > foo && \ + mv foo $file && grep PACKAGE_VERSION $file +else + echo "Cannot find file to tag" + exit 1 +fi