diff --git a/.mtn-ignore b/.mtn-ignore
index 7fa21008e70ec04c6c9c46b675f1f04dcfb9d52d..4bb2dae0cd4102e73d45a393298e32947f3a7b12 100644
--- a/.mtn-ignore
+++ b/.mtn-ignore
@@ -28,9 +28,9 @@ web-fragment.xml
 web-out.xml
 
 # Temporary/build dirs
-^build
+^build$
 ^pkg-temp
-/build
+/build$
 /classes
 /dist
 ^installer/resources/locale/mo