bake-toolkit 2.43.0 → 2.43.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bake/util.rb +5 -5
- data/lib/common/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5bf99aa3c7bd2e574dcad3684af05e63bb690cb4
|
4
|
+
data.tar.gz: cda7a830ec6887a6407a76d1837ede7672c70502
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6707bc271086cd4020d76ddd8d7a440634fec586482c814eb23375ff330bf1f13ae45ac80c4eac247266cbe542cdd7dcc74120126776de7f4421e346083c3642
|
7
|
+
data.tar.gz: 2ba40d86c0645d6d824787b2c1e9a6e96d0ec918cdf8a150e73a12a4b989feddc16986d2df0a92ae3032ce8057f8b8c11277d9b9921afb82255ea6cddf280090
|
data/lib/bake/util.rb
CHANGED
@@ -77,13 +77,13 @@ end
|
|
77
77
|
|
78
78
|
def integrateCompiler(tcs, compiler, type)
|
79
79
|
return tcs unless compiler
|
80
|
-
if compiler.respond_to?"command"
|
81
|
-
tcs[:COMPILER][type][:COMMAND] = compiler.command
|
80
|
+
if compiler.respond_to?("command") && compiler.command != ""
|
81
|
+
tcs[:COMPILER][type][:COMMAND] = compiler.command
|
82
82
|
end
|
83
|
-
if compiler.respond_to?"prefix"
|
84
|
-
tcs[:COMPILER][type][:PREFIX] = compiler.prefix
|
83
|
+
if compiler.respond_to?("prefix") && compiler.prefix != ""
|
84
|
+
tcs[:COMPILER][type][:PREFIX] = compiler.prefix
|
85
85
|
end
|
86
|
-
if compiler.fileEndings
|
86
|
+
if compiler.respond_to?("fileEndings") && compiler.fileEndings && compiler.fileEndings.endings != ""
|
87
87
|
tcs[:COMPILER][type][:SOURCE_FILE_ENDINGS] = compiler.fileEndings.endings.split(",").map{|e| e.strip}
|
88
88
|
end
|
89
89
|
|
data/lib/common/version.rb
CHANGED