Commit 0cd322c8 authored by 智勇's avatar 智勇

修改if

parent 0b76f770
......@@ -34,9 +34,9 @@ cd /home/qg-xterm/;git pull;cd -
source ~/.bash_profile
abTest=('xuezhijie' 'ai')
if echo "${abTest[@]}" | grep -w "${NAMESPACE}" &>/dev/null;
if echo "${abTest[@]}" | grep -w "${NAMESPACE}" &>/dev/null;then
python replace.py
then
else
echo "sed static to host"
find ${package_path}/ -name "*.js" | xargs sed -i "s#static\.q-gp\.com#$host#g"
find ${package_path}/ -name "*.html" | xargs sed -i "s#static\.q\-gp\.com#$host#g"
......
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