tempfile path changed
This commit is contained in:
parent
78b197315b
commit
6c0a8af4a9
@ -9,11 +9,16 @@ ossLogPath=$4
|
||||
user=$USER
|
||||
|
||||
protal=oss
|
||||
basePath=/var/tmp/autoDeploy
|
||||
|
||||
if [ -n $5 ]; then
|
||||
user=$5
|
||||
fi
|
||||
|
||||
if [ ! -d $basePath ]; then
|
||||
mkdir $basePath -p
|
||||
fi
|
||||
|
||||
if [ ! -d $workPath ]; then
|
||||
echo workPath $workPath not exist!
|
||||
exit 1
|
||||
|
@ -9,15 +9,19 @@ preName="${fileName%.*}"
|
||||
|
||||
protol=oss
|
||||
|
||||
basePath=/tmp/autoDeploy
|
||||
basePath=/var/temp/autoDeploy
|
||||
|
||||
if [ -n $3 ]; then
|
||||
basePath=$3
|
||||
basePath=$RR
|
||||
fi
|
||||
if [ ! -d $basePath ]; then
|
||||
mkdir $basePath -p
|
||||
fi
|
||||
|
||||
function compare(){
|
||||
if [ ! -d $basePath ]; then
|
||||
mkdir $basePath
|
||||
fi
|
||||
cd $basePath
|
||||
if [ ! -f ${fileName}_oss.info ]; then
|
||||
touch ${fileName}_oss.info
|
||||
|
Loading…
x
Reference in New Issue
Block a user