mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2025-12-31 14:50:50 -08:00
Small script to add CVS timestamp into the ECL binary
This commit is contained in:
parent
28dc3ad299
commit
8d22f1971d
1 changed files with 11 additions and 0 deletions
11
src/util/tag
Executable file
11
src/util/tag
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue