From 5fa9cd646fd99f3d830ecee3705fb4498b9eb253 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 6 Jun 2017 08:41:40 -0700 Subject: [PATCH] Rebuild test modules when configuration starts with R --- script/rebuild-test-modules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/rebuild-test-modules.py b/script/rebuild-test-modules.py index 7cbb189f519e..87add8c3116c 100755 --- a/script/rebuild-test-modules.py +++ b/script/rebuild-test-modules.py @@ -41,7 +41,7 @@ def main(): shutil.copy2(atom_lib, iojs_lib) # Native modules can only be compiled against release builds on Windows - if config == 'R' or PLATFORM != 'win32': + if config[0] == 'R' or PLATFORM != 'win32': update_electron_modules(os.path.dirname(spec_modules), get_target_arch(), node_dir) else: