mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-22 00:32:55 +08:00
Small patch to build script: ruby needs double quotes to interpolate variables into it properly.
This commit is contained in:
parent
6f4673f590
commit
1711fb07d7
@ -29,7 +29,7 @@ class Create < Classic
|
|||||||
@content = 'index.html'
|
@content = 'index.html'
|
||||||
|
|
||||||
# stop executation on errors
|
# stop executation on errors
|
||||||
raise 'Expected index.html in the following folder #{ path }.\nThe path is expected to be the directory droidgap create is run from or specified as a command line arg like droidgap create my_path.' unless File.exists? File.join(path, 'index.html')
|
raise "Expected index.html in the following folder #{ path }.\nThe path is expected to be the directory droidgap create is run from or specified as a command line arg like droidgap create my_path." unless File.exists? File.join(path, 'index.html')
|
||||||
raise 'Could not find android in your PATH!' if @android_sdk_path.empty?
|
raise 'Could not find android in your PATH!' if @android_sdk_path.empty?
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user