diff --git a/checkService.sh b/checkService.sh index c8e8f0d..4f44c5c 100755 --- a/checkService.sh +++ b/checkService.sh @@ -1,4 +1,4 @@ -#!/bin/ash +#!/bin/bash ## Usage # 如果虚机上的shell里面不能执行sudu,这个脚本就能派上用场,在root用户下执行此脚本,也就绕过sudo限制了 ## ./checkService.sh ztsjxxxt.jar "/usr/local/jar" ztsjxxxt "/home/ubuntu" "production/investigate/backEnd" diff --git a/ossUpgrade.sh b/ossUpgrade.sh index 68e51a3..b2a0d73 100755 --- a/ossUpgrade.sh +++ b/ossUpgrade.sh @@ -5,7 +5,6 @@ PATH=PATH:/usr/bin:/usr/sbin ossPath=$1 #末尾别忘了加/ fileName=$2 -serviceName=$3 projectName="${fileName%.*}" function compare(){