Massively updates scripts/shell/job/gp scripts

This commit is contained in:
Matheus Albino Brunhara
2024-04-19 12:24:55 -03:00
parent 0a006428f7
commit ec4c797883
3 changed files with 60 additions and 77 deletions

View File

@@ -42,10 +42,6 @@ else
files=(`find * -maxdepth 0 -type f -regextype sed -regex $regex_search`)
fi
if ! $revert; then
echo "[INFO] Exploding files"
fi
for f in ${files[@]}; do
if [ ! -f "$f" ]; then
continue
@@ -64,8 +60,6 @@ for f in ${files[@]}; do
# for removal of files after else
f=$file_without_old_suffix
else
echo " `basename $f`"
mv $f $f.old
unzip -qq -d $f $f.old
touch $f.dodeploy