Debian Codegraph @

scripts/build-version

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # SPDX-License-Identifier: GPL-2.0-only
3
4 prev_ver=$(catscip-shell system . . cat. .version 2>/dev/nullscip-shell filesystem . . `/dev/null`.) &&
5 ver=$(exprscip-shell system . . expr. ${prev_ver} + 1 2>/dev/nullscip-shell filesystem . . `/dev/null`.) ||
6 ver=1
7
8 echoscip-shell system . . echo. ${ver} > .version
9
10 echoscip-shell system . . echo. ${ver}