sprout 0.7.212-x86-linux → 0.7.213-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sprout might be problematic. Click here for more details.
- data/lib/sprout.rb +3 -3
- data/lib/sprout/version.rb +1 -1
- metadata +1 -1
data/lib/sprout.rb
CHANGED
@@ -255,7 +255,9 @@ EOF
|
|
255
255
|
exe = File.join(target.installed_path, archive_path)
|
256
256
|
if(User.new.is_a?(WinUser) && !archive_path.match(/.exe$/))
|
257
257
|
# If we're on Win (even Cygwin), add .exe to support custom binaries (see sprout-flex3sdk-tool)
|
258
|
-
exe
|
258
|
+
if(File.exists?(exe + '.exe'))
|
259
|
+
exe << '.exe'
|
260
|
+
end
|
259
261
|
end
|
260
262
|
elsif(target.url)
|
261
263
|
# Otherwise, use the default path to an executable if the RemoteFileTarget has a url prop
|
@@ -265,8 +267,6 @@ EOF
|
|
265
267
|
exe = target.archive_path
|
266
268
|
end
|
267
269
|
|
268
|
-
|
269
|
-
|
270
270
|
if(!File.exists?(exe))
|
271
271
|
raise UsageError.new("Could not retrieve requested executable from path: #{exe}")
|
272
272
|
end
|
data/lib/sprout/version.rb
CHANGED