From 0caa7460cb621f2ea6d9f613eb23e8b7da381003 Mon Sep 17 00:00:00 2001 From: EricClaeys <83164203+EricClaeys@users.noreply.github.com> Date: Wed, 6 Oct 2021 05:19:13 -0500 Subject: [PATCH] Add missing IMG_PREFIX --- scripts/copy_notification_image.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/copy_notification_image.sh b/scripts/copy_notification_image.sh index 71c29c204..74661bb78 100755 --- a/scripts/copy_notification_image.sh +++ b/scripts/copy_notification_image.sh @@ -54,6 +54,7 @@ if [ "${DAYTIME_SAVE}" = "true" -o "${CAPTURE_24HR}" = "true" ] ; then fi fi +FULL_FILENAME="${IMG_PREFIX}${FULL_FILENAME}" mv -f "${IMAGE_TO_USE}" "${ALLSKY_HOME}/${FULL_FILENAME}" # so web severs can see it. # If upload is true, optionally create a smaller version of the image and upload it @@ -70,8 +71,7 @@ if [ "${UPLOAD_IMG}" = "true" ] ; then fi fi - # We're actually uploading $IMAGE_TO_USE, but show $NOTIFICATIONFILE - # in the message since it's more descriptive. + # We're actually uploading $IMAGE_TO_USE, but show $NOTIFICATIONFILE in the message since it's more descriptive. echo -e "${ME}: Uploading $(basename "${NOTIFICATIONFILE}")\n" "${ALLSKY_SCRIPTS}/upload.sh" --silent "${IMAGE_TO_USE}" "${IMGDIR}" "${FULL_FILENAME}" "NotificationImage" exit $?