Index: tests/Makefile.am
===================================================================
--- tests/Makefile.am	(revision 7b53bfdceb792b7e587847a29488d1a1a4c71af4)
+++ tests/Makefile.am	(revision 8fa3b6607333bc8f793093ff0372be123b6b57c7)
@@ -101,8 +101,8 @@
 dist-hook:
 	echo "Gathering test files"
-	for file in `$(TEST_PY) --list-dist`; do \
-		if test -f $(srcdir)/$$(file); then \
-			$(MKDIR_P) $$(dirname $(distdir)/$$(file)); \
-			cp -df $(srcdir)/$$(file) $(distdir)/$$(file); \
+	for test_file in `$(TEST_PY) --list-dist`; do \
+		if test -f $(srcdir)/$$(test_file); then \
+			$(MKDIR_P) $$(dirname $(distdir)/$$(test_file)); \
+			cp -df $(srcdir)/$$(test_file) $(distdir)/$$(test_file); \
 		fi; \
 	done
