Fix another "==" -> "=" bashism.
I notice it doesn't quite work on my Ubuntu system - if I "cd version" and run "../redo", I get the following output: redo all redo vars redo gitvars [: 24: %H: unexpected operator [: 24: %d: unexpected operator [: 24: %ci: unexpected operator ...and then a hang.
This commit is contained in:
parent
94b34ea031
commit
204ac1411d
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ while read line; do
|
|||
if [ "$x" != "$line" ]; then
|
||||
# git didn't substitute it
|
||||
x=${x%\$} # remove trailing $
|
||||
if [ "$x" == "%d" ]; then
|
||||
if [ "$x" = "%d" ]; then
|
||||
tag=$(git describe --match="$PROD-*")
|
||||
x="(tag: $tag)"
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue