flatcar / flatcar-build-scripts

A set of helper scripts for building Flatcar Linux. It includes scripts that should be independent of the existing `scripts` repository.
Apache License 2.0
2 stars 5 forks source link

show-changes: Fix excessive quoting #151

Closed krnowak closed 11 months ago

krnowak commented 11 months ago

Single quotes inside a line like below are treated as a part of the value:

: "${foo:='bar'}"

If foo is empty or unset then it will be set to "'bar'", instead of just "bar". This resulted in the script complaining that git can't operate on directory "'scripts'".