comparison scripts/make-version.sh @ 14:987aed835df0

scripts/make-version.sh: s/Magnetite/Selenite/
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 21:36:12 +0000
parents f10cbd8a51c4
children
comparison
equal deleted inserted replaced
13:f10cbd8a51c4 14:987aed835df0
4 then 4 then
5 echo "usage: $0 component-name" 1>&2 5 echo "usage: $0 component-name" 1>&2
6 exit 1 6 exit 1
7 fi 7 fi
8 8
9 echo "static char *verstring_$1 = \"$1 FreeCalypso Magnetite\";" 9 echo "static char *verstring_$1 = \"$1 FreeCalypso Selenite\";"
10 echo 10 echo
11 echo "char *$1_version(void)" 11 echo "char *$1_version(void)"
12 echo '{' 12 echo '{'
13 echo " return verstring_$1;" 13 echo " return verstring_$1;"
14 echo '}' 14 echo '}'