Commit 64ee8ca4 authored by 智勇's avatar 智勇

update

parent 6cd7e553
...@@ -77,8 +77,7 @@ if [ $database_name = 'mall' ];then ...@@ -77,8 +77,7 @@ if [ $database_name = 'mall' ];then
else else
echo "./* file count is $file_count" echo "./* file count is $file_count"
if [ "$file_count" -gt 0 ]; then if [ "$file_count" -gt 0 ]; then
sed -i "s/https\:/http\:/g" $entry sed -i "s/https\:/http\:/g" *
if [ "$re_replace_ip" = true ]; then if [ "$re_replace_ip" = true ]; then
for entry in ./* for entry in ./*
do do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment