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