Debian Codegraph @

build-scripts/revision.sh

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`.
2
3 gitscip-shell system . . git. show-ref --tags | grepscip-shell system . . grep. "`gitscip-shell system . . git. log -n 1 --pretty='%H'`" > /dev/nullscip-shell filesystem . . `/dev/null`. 2>&1
4
5 if [[ $? == 1 ]]; then
6 REVISION=$(gitscip-shell system . . git. log -n 1 --pretty='%h' 2> /dev/nullscip-shell filesystem . . `/dev/null`.)
7 [[ $REVISION && `grep "$REVISION" VERSION | wc -l` -eq 0 ]] && sedscip-shell system . . sed. -i -e "s/.*/git:$REVISION/g" VERSION
8 fi
9
10 catscip-shell system . . cat. VERSION