comparison scripts/make-version.sh @ 12:183b65004077

scripts/make-version.sh: FC Tourmaline
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 07:11:35 +0000
parents
children
comparison
equal deleted inserted replaced
11:12ed2291fb67 12:183b65004077
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 Tourmaline\";"
10 echo
11 echo "char *$1_version(void)"
12 echo '{'
13 echo " return verstring_$1;"
14 echo '}'