Files
openfoam/src/OpenFOAM/Alltouch
2019-11-13 13:19:16 +01:00

25 lines
475 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------
touch=true
case "$1" in
-check)
if wmakeBuildInfo -check
then
unset touch
fi
;;
esac
if [ -n "$touch" ]
then
# Triggers update of version info
wrmo global/global.Cver 2>/dev/null
fi
exit 0 # clean exit
#------------------------------------------------------------------------------