diff options
author | Roy T. Fielding <fielding@apache.org> | 2001-04-12 22:34:52 +0200 |
---|---|---|
committer | Roy T. Fielding <fielding@apache.org> | 2001-04-12 22:34:52 +0200 |
commit | fdc6afc0aead0564f5b5c03d6f0d0a0333bd25c2 (patch) | |
tree | a8678c2d13634591ffe62f0935e104a33ef6338d /build/rules.mk | |
parent | The ap_f* functions should flush data to the filter that is passed in, (diff) | |
download | apache2-fdc6afc0aead0564f5b5c03d6f0d0a0333bd25c2.tar.xz apache2-fdc6afc0aead0564f5b5c03d6f0d0a0333bd25c2.zip |
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
Diffstat (limited to 'build/rules.mk')
-rw-r--r-- | build/rules.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build/rules.mk b/build/rules.mk index 368905f86c..16c2bf5be6 100644 --- a/build/rules.mk +++ b/build/rules.mk @@ -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 |