six-updater-web 0.13.4 → 0.13.5
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/app/models/system_setting.rb +2 -2
- data/lib/config/six-updater-web.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ class SystemSetting < ActiveRecord::Base
|
|
18
18
|
self.gamespied_at = Time.now
|
19
19
|
self.save
|
20
20
|
cl = "sync:gamespy RAILS_ENV=#{ENV['RAILS_ENV']}" # + cl
|
21
|
-
cl += " BASE_PATH=\'#{
|
21
|
+
cl += " BASE_PATH=\'#{SixUpdaterWeb::BASE_PATH}\'" if defined?(SixUpdaterWeb::OLDLOCATION)
|
22
22
|
SixUpdaterWeb.run_program(exec, RAILS_ROOT, cl)
|
23
23
|
end
|
24
24
|
|
@@ -26,7 +26,7 @@ class SystemSetting < ActiveRecord::Base
|
|
26
26
|
self.gamespied_at = Time.now
|
27
27
|
self.save
|
28
28
|
cl = "sync:gamespy RAILS_ENV=#{ENV['RAILS_ENV']} NOGEO=1" # + cl
|
29
|
-
cl += " BASE_PATH=\'#{
|
29
|
+
cl += " BASE_PATH=\'#{SixUpdaterWeb::BASE_PATH}\'" if defined?(SixUpdaterWeb::OLDLOCATION)
|
30
30
|
SixUpdaterWeb.run_program(exec, RAILS_ROOT, cl)
|
31
31
|
end
|
32
32
|
|