diff --git a/build.xml b/build.xml
index a22db84928f9781d7d9830c4de43f0ce82f84e10..4bd01c2d5dba325227c11d2fb6b5dfcad9e49be0 100644
--- a/build.xml
+++ b/build.xml
@@ -174,9 +174,9 @@
     <exec command="sleep 30" />
 
     <!-- import marc test records into vufind index (note: the marc test records have prefix "testsample#") -->
-    <exec command="find ${srcdir}/tests/data -name *.mrc -printf %p," outputProperty="buglist" />
+    <exec escape="false" command="find ${srcdir}/tests/data -name '*.mrc' -printf '%p,'" outputProperty="buglist" />
     <foreach list="${buglist}" param="filename" delimiter="," target="importrec" />
-    <exec command="find ${srcdir}/tests/data/authority -name *.mrc -printf %p," outputProperty="authlist" />
+    <exec escape="false" command="find ${srcdir}/tests/data/authority -name '*.mrc' -printf '%p,'" outputProperty="authlist" />
     <foreach list="${authlist}" param="filename" delimiter="," target="importauthrec" />
 
     <!-- build alphabrowse index -->