Commit 41a7ea34 authored by Roy T. Fielding's avatar Roy T. Fielding
Browse files

Fix the shell syntax error that occurs when a for list is empty due to

an empty variable expansion.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88833 13f79535-47bb-0310-9956-ffa450edef68
parent d0dd15b7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -173,8 +173,10 @@ all-p: $(targets)
install-p: $(targets) $(install_targets)
	@if test -n '$(PROGRAMS)'; then \
		test -d $(bindir) || $(MKINSTALLDIRS) $(bindir); \
		for i in $(PROGRAMS); do \
		for i in $(PROGRAMS) ""; do \
		    if test "x$$i" != "x"; then \
			$(INSTALL_PROGRAM) $$i $(bindir); \
		    fi; \
		done; \
	fi