From 01cc7848d1d3ba8f7d6af75e4afdf7fb265c6fdd Mon Sep 17 00:00:00 2001 From: Bohung Date: Wed, 13 Oct 2021 11:16:31 +0800 Subject: [PATCH] Fix bug. --- ruling_weather.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruling_weather.gemspec b/ruling_weather.gemspec index d5fad71..4144b41 100644 --- a/ruling_weather.gemspec +++ b/ruling_weather.gemspec @@ -12,7 +12,7 @@ if bundle_update_flag if !folder.include?('mobile') moudle_path = "#{folder}modules/ruling_weather/" if !Dir.exist?(moudle_path) && Dir.exist?(File.dirname(moudle_path)) - Bundler.with_clean_env{system ('cp -r '+ app_path + '/modules/ ' + folder)} + Bundler.with_clean_env{system ('cp -r '+ app_path + '/modules/* ' + folder + '/modules/.')} end end end