wmakePrintBuild -check: exit 0 if not a git repository
This commit is contained in:
parent
f989f58d85
commit
922785d9cf
1 changed files with 3 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# ========= |
|
||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
# \\ / O peration |
|
||||
# \\ / A nd | Copyright (C) 2011-2015 OpenFOAM Foundation
|
||||
# \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
# \\/ M anipulation |
|
||||
#-------------------------------------------------------------------------------
|
||||
# License
|
||||
|
|
@ -205,10 +205,11 @@ then
|
|||
else
|
||||
echo "version changed from previous build" 1>&2
|
||||
fi
|
||||
exit $rc
|
||||
else
|
||||
echo "no git description found" 1>&2
|
||||
exit 0
|
||||
fi
|
||||
exit $rc
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue