FreeCalypso > hg > fc-magnetite
comparison scripts/make-version.sh @ 10:352f80da6813
ACI compiles!
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 27 Sep 2016 02:31:03 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9:05945a9b9dda | 10:352f80da6813 |
---|---|
1 #!/bin/sh | |
2 | |
3 if [ $# != 1 ] | |
4 then | |
5 echo "usage: $0 component-name" 1>&2 | |
6 exit 1 | |
7 fi | |
8 | |
9 echo "static char *verstring_$1 = \"$1 FreeCalypso Magnetite\";" | |
10 echo | |
11 echo "char *$1_version(void)" | |
12 echo '{' | |
13 echo " return verstring_$1;" | |
14 echo '}' |