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:
parent
8b915b15b5
commit
abbc7dfc37
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ case "$state_should" in
|
||||||
if [ -f "$__object/files/upload-destination" ]; then
|
if [ -f "$__object/files/upload-destination" ]; then
|
||||||
# move uploaded file into place
|
# move uploaded file into place
|
||||||
printf 'rm -rf "%s"\n' "$final_destination"
|
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
|
fi
|
||||||
if [ -f "$__object/files/set-attributes" ]; then
|
if [ -f "$__object/files/set-attributes" ]; then
|
||||||
# set-attributes is created if file is created or uploaded in gencode-local
|
# set-attributes is created if file is created or uploaded in gencode-local
|
||||||
|
|
Loading…
Reference in a new issue