diff --git a/tools/fnlosrc_install.csh b/tools/fnlosrc_install.csh
index 871cbbdd9f9f3b07dfb0d84344d6b9d0d7f0f346..73293a540e433680b4bc17906657ea49cf901fe1 100755
--- a/tools/fnlosrc_install.csh
+++ b/tools/fnlosrc_install.csh
@@ -811,7 +811,7 @@ if ( $withoptional ) then
 #      cd ..
 #      touch ${arc}_installed
 #   endif
-#endif
+endif
 #
 #
 #==============================================================================