Small script to add CVS timestamp into the ECL binary

This commit is contained in:
jgarcia 2007-10-10 08:28:37 +00:00
parent 28dc3ad299
commit 8d22f1971d

11
src/util/tag Executable file
View file

@ -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