Update scripts in scripts/shell/job/gp
This commit is contained in:
@@ -53,19 +53,19 @@ for f in ${files[@]}; do
|
||||
# "f" will have ".old" suffix
|
||||
rm --recursive --force $file_without_old_suffix
|
||||
mv $f $file_without_old_suffix
|
||||
rm "$file_without_old_suffix.dodeploy"
|
||||
rm --force "$file_without_old_suffix.dodeploy"
|
||||
|
||||
rm --force "$file_without_old_suffix.isdeploying"
|
||||
rm --force "$file_without_old_suffix.deployed"
|
||||
rm --force "$file_without_old_suffix.failed"
|
||||
rm --force cpqd-ds.xml.failed
|
||||
|
||||
# for removal of files after else
|
||||
f=$file_without_old_suffix
|
||||
else
|
||||
mv $f $f.old
|
||||
unzip -d $f $f.old
|
||||
touch $f.dodeploy
|
||||
|
||||
rm --force "$f.isdeploying"
|
||||
rm --force "$f.deployed"
|
||||
rm --force "$f.failed"
|
||||
fi
|
||||
|
||||
rm --force "$f.isdeploying"
|
||||
rm --force "$f.deployed"
|
||||
rm --force "$f.failed"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user