deps/test1.do: fix an == vs. =
In sh's [] command, you should use =, not ==. I got away with this because bash accepts ==, but that's non-portable.
This commit is contained in:
parent
a5855641f8
commit
8953260d28
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ else
|
|||
fi
|
||||
redo-ifchange t1a # it definitely had to rebuild because t1dep changed
|
||||
AFTER="$(cat t1a)"
|
||||
if [ "$BEFORE" == "$AFTER" ]; then
|
||||
if [ "$BEFORE" = "$AFTER" ]; then
|
||||
echo "t1a was not rebuilt!" >&2
|
||||
exit 43
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue