From 1742865909e68050a581020395dcc86e92d47eba Mon Sep 17 00:00:00 2001 From: Stefan Brenner Date: Tue, 18 Jan 2022 13:18:49 +0100 Subject: [PATCH] Copy file for website instead of moving it due to problems with ftp upload --- scripts/saveImage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/saveImage.sh b/scripts/saveImage.sh index 50b2ff4f3..2c6936295 100755 --- a/scripts/saveImage.sh +++ b/scripts/saveImage.sh @@ -144,7 +144,7 @@ if [ "${DAYTIME_SAVE}" = "true" -o "${DAY_OR_NIGHT}" = "NIGHT" ] ; then cp "${IMAGE_TO_USE}" "${FINAL_FILE}" || echo "*** ERROR: ${ME}: unable to copy ${IMAGE_TO_USE} ***" IMAGE_TO_USE="${FINAL_FILE}" fi -mv "${IMAGE_TO_USE}" "${WORKING_DIR}/${FULL_FILENAME}" # Websites look for $FULL_FILENAME +cp "${IMAGE_TO_USE}" "${WORKING_DIR}/${FULL_FILENAME}" # Websites look for $FULL_FILENAME # If upload is true, optionally create a smaller version of the image; either way, upload it if [ "${UPLOAD_IMG}" = "true" ] ; then