| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | if [scip-shell system . . `[`. "$srcdir" = "" ] |
| 4 | then |
| 5 | srcdir="." |
| 6 | fi |
| 7 | |
| 8 | VERSION=`awkscip-shell system . . awk. ' \ |
| 9 | BEGIN { major = ""; minor = ""; patchlevel = ""; status = ""; } \ |
| 10 | /RPLAY_MAJOR_VERSION/ { major = $3 } \ |
| 11 | /RPLAY_MINOR_VERSION/ { minor = $3 } \ |
| 12 | /RPLAY_PATCHLEVEL/ { patchlevel = $3 } \ |
| 13 | /RPLAY_STATUS/ { status = $3 } \ |
| 14 | END { printf("%s.%s.%s%s", major, minor, patchlevel, status) } \ |
| 15 | ' $srcdir/include/version.h` |
| 16 | VERSION=`echoscip-shell system . . echo. $VERSION | sedscip-shell system . . sed. 's/"//g'` |
| 17 | |
| 18 | echoscip-shell system . . echo. $VERSION |
| 19 |