From ffbed26afd7d00487153e356fe863c7f490321e4 Mon Sep 17 00:00:00 2001
From: David Fugate <dfugate@microsoft.com>
Date: Sun, 25 Sep 2011 12:22:44 -0700
Subject: [PATCH] Updated convert.js to use new IETC directory.

---
 tools/converter/convert.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/converter/convert.js b/tools/converter/convert.js
index abee2511fa..06c695c65d 100644
--- a/tools/converter/convert.js
+++ b/tools/converter/convert.js
@@ -24,7 +24,7 @@
    var CONTRIB_DIRS = [
      ['test', 'suite', 'other'],
      ['test', 'suite', 'sputnik', 'Conformance'],
-     ['test', 'suite', 'ietestcenter']
+     ['external', 'contributions', 'Microsoft', 'ietc_262modified']
    ];
 
    var CONVERTED_DIR = ['test', 'suite', 'converted'];
@@ -40,7 +40,7 @@
     * actually derived from sources.
     */
    var EXTRA_GLOBAL_SCOPE_TESTS = [
-     ['test', 'suite', 'IETCGlobalScope.js']
+     ['external', 'contributions', 'Microsoft', 'ietc_262modified', 'IETCGlobalScope.js']
    ];
 
    /**
@@ -457,7 +457,7 @@
        var nextRelPath = relPath.concat([name]);
        if (platform.isDirectory(inBase.concat(nextRelPath))) {
          convertAll(inBase, outBase, nextRelPath);
-       } else if (/\.js$/.test(name)) {
+       } else if (/\.js$/.test(name) && !(/IETCGlobalScope\.js$/.test(name))) {
          var outFilePath = outPath.concat([name]);
          try {
            platform.writeSpawn(
-- 
GitLab