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