Merge branch '31-old-files-cleanup-buggy' into 'dev'
Correctly handle skipped files when cleaning obsolete files See merge request atom/AtOM!43
This commit is contained in:
commit
ecfa6f73c6
7
atom
7
atom
@ -226,7 +226,12 @@ do
|
||||
rest=${line#*::AtOM:SQL:Sep::}
|
||||
removeFileDestName=${rest%%::AtOM:SQL:Sep::*}
|
||||
rest=${rest#*::AtOM:SQL:Sep::}
|
||||
removefile[$removeFileId]="${destinationpath["$removeFileDestName"]}/${rest%%::AtOM:SQL:Sep::*}"
|
||||
if [[ -n "${rest%%::AtOM:SQL:Sep::*}" ]]
|
||||
then
|
||||
removefile[$removeFileId]="${destinationpath["$removeFileDestName"]}/${rest%%::AtOM:SQL:Sep::*}"
|
||||
else
|
||||
removefile[$removeFileId]=''
|
||||
fi
|
||||
read -u4 -r -d $'\0' line
|
||||
done
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user