diff options
Diffstat (limited to 'lib/compilers/clean.js')
-rw-r--r-- | lib/compilers/clean.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/compilers/clean.js b/lib/compilers/clean.js index bd4bb1d3d..ca5c699a3 100644 --- a/lib/compilers/clean.js +++ b/lib/compilers/clean.js @@ -48,11 +48,7 @@ class CleanCompiler extends BaseCompiler { execOptions = this.getDefaultExecOptions(); execOptions.customCwd = tmpDir; execOptions.env.CLEANLIB = path.join(compilerPath, "../exe"); - execOptions.env.CLEANPATH = [ - path.join(compilerPath, "../StdEnv"), - path.join(compilerPath, "../data/StdLib"), - path.join(compilerPath, "../data/Directory") - ].join(":"); + execOptions.env.CLEANPATH = this.compiler.libPath; options.pop(); options.push(moduleName); return super.runCompiler(compiler, options, moduleName, execOptions).then(result => { |