Skip to content

Commit

Permalink
Merge pull request #942 from noe-sternwarte/hotfix/upload
Browse files Browse the repository at this point in the history
Image not available when uploading to server
  • Loading branch information
linuxkidd authored Jan 19, 2022
2 parents d2b1f7c + 1742865 commit 6b51744
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 6b51744

Please sign in to comment.