since we already remove the destination, we have no need to use -T on move, fixes #333

Signed-off-by: Steven Armstrong <steven@armstrong.cc>
This commit is contained in:
Steven Armstrong 2022-04-16 19:05:31 +02:00
parent 8b915b15b5
commit abbc7dfc37
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ case "$state_should" in
if [ -f "$__object/files/upload-destination" ]; then
# move uploaded file into place
printf 'rm -rf "%s"\n' "$final_destination"
printf 'mv -T "%s" "%s"\n' "$destination" "$final_destination"
printf 'mv "%s" "%s"\n' "$destination" "$final_destination"
fi
if [ -f "$__object/files/set-attributes" ]; then
# set-attributes is created if file is created or uploaded in gencode-local