Skip to content

Commit

Permalink
Update makeChanges.sh: use uppercase cameraModel
Browse files Browse the repository at this point in the history
The CC_FILE uses oneTwo variable names.
  • Loading branch information
EricClaeys authored Jun 29, 2023
1 parent 3a8d345 commit fe52755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/makeChanges.sh
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ while [[ $# -gt 0 ]]; do

# Create a link to a file that contains the camera type and model in the name.
CAMERA_TYPE="${NEW_VALUE}" # already know it
CAMERA_MODEL="$( settings .cameramodel "${CC_FILE}" )"
CAMERA_MODEL="$( settings .cameraModel "${CC_FILE}" )"
if [[ -z ${CAMERA_MODEL} ]]; then
echo -e "${wERROR}ERROR: 'cameraModel' not found in ${CC_FILE}.${wNC}"
[[ -f ${CC_FILE_OLD} ]] && mv "${CC_FILE_OLD}" "${CC_FILE}"
Expand Down

0 comments on commit fe52755

Please sign in to comment.