Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 8b6c7bf

Browse files
committed
test/exceptions/Makefile: Fix double quoting
Fixes "/bin/sh: line 0: [: src/rt_trap_exceptions.d:8: binary operator expected".
1 parent e798185 commit 8b6c7bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/exceptions/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ $(ROOT)/rt_trap_exceptions.done: STDERR_EXP2="src/rt_trap_exceptions.d:8 main"
6363
$(ROOT)/%.done: $(ROOT)/%
6464
@echo Testing $*
6565
$(NEGATE) $(QUIET)$(TIMELIMIT)$(ROOT)/$* $(RUN_ARGS) 2>&1 1>/dev/null | grep -qF $(STDERR_EXP)
66-
if [ ! -z "$(STDERR_EXP2)" ] ; then \
66+
if [ ! -z $(STDERR_EXP2) ] ; then \
6767
$(NEGATE) $(QUIET)$(TIMELIMIT)$(ROOT)/$* $(RUN_ARGS) 2>&1 1>/dev/null | grep -qF $(STDERR_EXP2); \
6868
fi
6969
@touch $@

0 commit comments

Comments
 (0)