mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
25 lines
475 B
Bash
Executable File
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
|
|
|
|
#------------------------------------------------------------------------------
|