frontEndUpdate update
This commit is contained in:
parent
4c1d6c8dcf
commit
2226c05195
@ -6,10 +6,14 @@ fileName=$1 # html.zip zhuize.zip
|
|||||||
projectPath=$2 # /etc/nginx /var/www
|
projectPath=$2 # /etc/nginx /var/www
|
||||||
workPath=$3
|
workPath=$3
|
||||||
ossLogPath=$4
|
ossLogPath=$4
|
||||||
|
user=$USER
|
||||||
|
|
||||||
|
if [ -n $5 ]; then
|
||||||
|
user=$5
|
||||||
|
fi
|
||||||
|
|
||||||
PATH=PATH:/usr/bin:/usr/sbin
|
PATH=PATH:/usr/bin:/usr/sbin
|
||||||
projectName="${fileName%.*}" # html, zhuize
|
projectName="${fileName%.*}" # html, zhuize
|
||||||
user="${workPath##*/}"
|
|
||||||
preName="${fileName%.*}"
|
preName="${fileName%.*}"
|
||||||
|
|
||||||
function uploadLog()
|
function uploadLog()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user