archives

« Bugzilla Issues Index

#443 — Packager fails if .DS_Store file is present on Mac


The Mac Finder creates a .DS_Store file in every directory that it opens. The packager.py script fails if such a file is present in the test/suite directory.


Proposed fix:

@@ -171,6 +171,10 @@
print "The expected ES5 test directory,", temp, "did not exist!"
sys.exit(1)

+ if temp.find("/.") != -1:
+ # skip hidden files on Unix, such as ".DS_Store" on Mac
+ continue
+
if not ONE_JSON_PER_CHAPTER:
dirWalker(temp)
else:


Fixed back in July 2012.