From f13624e0f8a3c28c90aa0ce8ee36b639a491e4a9 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Thu, 15 Apr 1999 18:07:38 +0000 Subject: zsh-3.1.5-pws-2 --- Src/Makemod.in.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Src/Makemod.in.in') diff --git a/Src/Makemod.in.in b/Src/Makemod.in.in index f27a6bd57..a5c760eb4 100644 --- a/Src/Makemod.in.in +++ b/Src/Makemod.in.in @@ -119,8 +119,9 @@ uninstall.modules: uninstall.modules-here install.bin-here uninstall.bin-here: install.modules-here: - $(sdir_top)/mkinstalldirs $(MODDIR) - modules='$(MODULES)'; for mod in $$modules; do \ + modules='$(MODULES)'; \ + if test -n "$$modules"; then $(sdir_top)/mkinstalldirs $(MODDIR); fi; \ + for mod in $$modules; do \ $(INSTALL_PROGRAM) $$mod $(MODDIR)/$$mod; \ done -- cgit 1.4.1