Skip to content

Commit

Permalink
Update makeChanges.sh: fix removing leading "_"
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Sep 18, 2023
1 parent 5fa7543 commit 1009bf3
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 @@ -142,7 +142,7 @@ do
fi

KEY="${KEY,,}" # convert to lowercase
KEY="${KEY/^_/}" # Remove any leading "_"
KEY="${KEY/#_/}" # Remove any leading "_"

# Don't skip if it's cameratype since that indicates we need to refresh.
if [[ ${KEY} != "cameratype" && ${OLD_VALUE} == "${NEW_VALUE}" ]]; then
Expand Down

0 comments on commit 1009bf3

Please sign in to comment.