From 876a610e4767ec4089ea29884f40a805d03228a3 Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Tue, 14 Jun 2016 12:15:07 +0100
Subject: [PATCH] src/Allwmake: Update the location of global.o Resolves
 bug-report http://bugs.openfoam.org/view.php?id=2120

---
 src/Allwmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Allwmake b/src/Allwmake
index 8571acd0c19..ef59d69ba9d 100755
--- a/src/Allwmake
+++ b/src/Allwmake
@@ -21,7 +21,7 @@ wmakeCheckPwd "$WM_PROJECT_DIR/src" || {
 set -x
 
 # Update OpenFOAM version strings if required
-wmakePrintBuild -check || /bin/rm -f OpenFOAM/Make/*/global.? 2>/dev/null
+wmakePrintBuild -check || wrmo OpenFOAM/global/global.o 2>/dev/null
 
 wmakeLnInclude OpenFOAM
 wmakeLnInclude OSspecific/${WM_OSTYPE:-POSIX}
-- 
GitLab