Debian Codegraph @

src/util/tag

raw symbols SCIP
1 #!/bin/sh
2 k=".`date +"%d%H%M"`"
3 file="src/lsp/config.lsp.in"
4 if test -f $file ; then
5 if test -z "$1" ; then
6 echo "Tagging ECL with $k"
7 else
8 echo "Untagging ECL"
9 k=""
10 fi
11 sed "s,@PACKAGE_VERSION@.*\",@PACKAGE_VERSION@$k\",g" < $file > foo && \
12 mv foo $file && grep PACKAGE_VERSION $file
13 else
14 echo "Cannot find file to tag"
15 exit 1
16 fi