Skip to content

Commit

Permalink
improve useful strings produced by update_ver
Browse files Browse the repository at this point in the history
  • Loading branch information
lcn2 committed Feb 9, 2024
1 parent e096bd9 commit ae85846
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions update_ver
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ for i in $MK_SET1; do
echo "$i: $VER_STRING"
fi
done
echo
if [[ -n $VER_ERR ]]; then
echo "$0: FATAL: error in finding calc major version string"
echo "$0: FATAL: exit 10"
Expand All @@ -177,15 +178,36 @@ fi

# print other useful calc strings
#
export VER_CALC_OUTPUT=$(./ver_calc)
echo 'Begin text strings used to produce this release:'
echo 'vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv'
echo
echo
echo
echo "$VER_CALC_OUTPUT"
echo
echo "v$VER_CALC_OUTPUT"
echo
echo "Release v$VER_CALC_OUTPUT"
echo
echo "calc $(./ver_calc) release"
echo "calc $VER_CALC_OUTPUT release"
echo
echo 'calc-*'$(./ver_calc)'*'
echo 'For use with sourceforge.net:'
echo
echo 'cd /home/pfs/project/calc/calc'
echo "mkdir $VER_CALC_OUTPUT"
echo "cd $VER_CALC_OUTPUT"
echo 'mput calc-*'"$VER_CALC_OUTPUT"'*'
echo 'put /home/chongo/tmp/README.txt'
echo 'ls'
echo
echo
echo
echo '^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^'
echo 'End text strings used to produce this release:'
echo
echo "Release v$(./ver_calc)"

# All Done!!! -- Jessica Noll, Age 2
#
echo
echo "VERSION in Makefile.config is up to date"
exit 0

0 comments on commit ae85846

Please sign in to comment.