diff --git a/etc/config.csh/setup b/etc/config.csh/setup
index 4b0a9a18ea70f920db4fba0a0d2a3713a01425c4..47cd76a91a3610c3ce17c77bfff740052d1566a7 100644
--- a/etc/config.csh/setup
+++ b/etc/config.csh/setup
@@ -5,7 +5,7 @@
 #   \\  /    A nd           | www.openfoam.com
 #    \\/     M anipulation  |
 #------------------------------------------------------------------------------
-#     Copyright (C) 2018-2021 OpenCFD Ltd.
+#     Copyright (C) 2018-2022 OpenCFD Ltd.
 #------------------------------------------------------------------------------
 # License
 #     This file is part of OpenFOAM, distributed under GPL-3.0-or-later.
@@ -210,8 +210,8 @@ endif
 
 # Remove duplicates from environment paths
 
-_foamClean PATH "$foamOldDirs"
-_foamClean MANPATH "$foamOldDirs"
+_foamClean PATH
+_foamClean MANPATH
 _foamClean -lib
 
 # Add trailing ':' for system manpages