fix error
This commit is contained in:
parent
e9f21006b0
commit
96a40a6326
|
@ -174,10 +174,10 @@ class Admin::SitesController < OrbitAdminController
|
||||||
end
|
end
|
||||||
git = 'git_1.9.1/usr/bin/git'
|
git = 'git_1.9.1/usr/bin/git'
|
||||||
end
|
end
|
||||||
git_add_except_public = Dir['*'].select{|v| v!= 'public' && v!= 'log'}.collect do |v|
|
git_add_except_public = Dir['*'].select{|v| v!= 'public' && v!= 'log' && v != 'dump' && v != 'tmp'}.collect do |v|
|
||||||
"#{git} add -f --all --ignore-errors '#{v}'"
|
"#{git} add -f --all --ignore-errors '#{v}'"
|
||||||
end.join(' ; ')
|
end.join(' ; ')
|
||||||
git_add_custom = (Dir['*'].select{|v| v !='app' && v != 'lib' && v != 'config' && v != 'public' && v!= 'log'} + ['app/templates','config/mongoid.yml','config/extra_lang.txt']).collect do |v|
|
git_add_custom = (Dir['*'].select{|v| v !='app' && v != 'lib' && v != 'config' && v != 'public' && v!= 'log' && v != 'dump' && v != 'tmp'} + ['app/templates','config/mongoid.yml','config/extra_lang.txt']).collect do |v|
|
||||||
"#{git} add -f --all --ignore-errors '#{v}'"
|
"#{git} add -f --all --ignore-errors '#{v}'"
|
||||||
end.join(' ; ')
|
end.join(' ; ')
|
||||||
git_restore = "#{git} checkout ."
|
git_restore = "#{git} checkout ."
|
||||||
|
|
Loading…
Reference in New Issue