xonixx/makesure

Spaces in `@define` are not recognized properly

xonixx opened this issue · 0 comments

xonixx commented

They are collapsed to one space.

# Makesurefile
@define A='a         b'

@goal g
  echo "$A"
$ ./makesure -f tmp/m4.sh g
  goal 'g' ...
a b

Same issue with @reached_if:

@define ISSUE_142='a     b' # 5 spaces

@goal g
@reached_if echo "$ISSUE_142"
echo 'Should not show this'

Result:

a b
  goal 'g' [already satisfied].