Skip to content

Commit

Permalink
Merge pull request #1019 from thomasjacquin/darkCapture.sh-bug-dirname
Browse files Browse the repository at this point in the history
darkCapture.sh: bug fix with dirname
  • Loading branch information
EricClaeys authored Feb 12, 2022
2 parents 2db9a4e + 92962cc commit 98a9cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/darkCapture.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if [ "${DARK_MODE}" = "1" ] ; then
# $DARK_EXTENSION. If we start saving darks as .png files the extensions will be
# different and we'll need to run "convert" to make the dark a .jpg file to
# be displayed on the web.
cp "${MOVE_TO_FILE}" "${FULL_FILENAME}"
cp "${MOVE_TO_FILE}" "$(dirname ${CURRENT_IMAGE})/${FULL_FILENAME}"
fi

exit 0 # exit so the calling script exits and doesn't try to process the file.
Expand Down

0 comments on commit 98a9cb0

Please sign in to comment.