Skip to content

Commit

Permalink
Copy file for website instead of moving it due to problems with ftp u…
Browse files Browse the repository at this point in the history
…pload
  • Loading branch information
stefanbrenner committed Jan 18, 2022
1 parent d2b1f7c commit 1742865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/saveImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1742865

Please sign in to comment.