From 4b323ede98d36524442f50fe67966fbe2e0c91b8 Mon Sep 17 00:00:00 2001 From: hobbs Date: Wed, 25 May 2005 17:46:22 +0000 Subject: * unix/Makefile.in (install-libraries): protect possible empty list in for with list= trick for older shells. --- ChangeLog | 5 +++++ unix/Makefile.in | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index afc757a..8edc7ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-25 Jeff Hobbs + + * unix/Makefile.in (install-libraries): protect possible empty + list in for with list= trick for older shells. + 2005-05-24 Daniel Steffen * generic/tkTest.c: disable commands not available on TkAqua. diff --git a/unix/Makefile.in b/unix/Makefile.in index 7c75800..ee507dd 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.87.2.9 2005/05/24 04:21:32 das Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.87.2.10 2005/05/25 17:46:40 hobbs Exp $ # Current Tk version; used in various names. @@ -608,7 +608,7 @@ install-strip: install-binaries: $(TK_LIB_FILE) $(TK_STUB_LIB_FILE) $(TK_BUILD_EXP_FILE) wish @for i in $(LIB_INSTALL_DIR) $(BIN_INSTALL_DIR) $(PKG_INSTALL_DIR); \ do \ - if [ ! -d $$i ] ; then \ + if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ mkdir -p $$i; \ chmod 755 $$i; \ @@ -654,7 +654,7 @@ install-libraries: libraries $(SCRIPT_INSTALL_DIR) $(SCRIPT_INSTALL_DIR)/images \ $(SCRIPT_INSTALL_DIR)/msgs; \ do \ - if [ ! -d $$i ] ; then \ + if [ ! -d $$i ] ; then \ echo "Making directory $$i"; \ mkdir -p $$i; \ chmod 755 $$i; \ @@ -670,7 +670,7 @@ install-libraries: libraries do \ $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR); \ done; - @for i in $(@TK_WINDOWINGSYSTEM@_XLIB_HDRS) ; \ + @list='$(@TK_WINDOWINGSYSTEM@_XLIB_HDRS)'; for i in $$list ; \ do \ $(INSTALL_DATA) $$i $(INCLUDE_INSTALL_DIR)/X11; \ done; -- cgit v0.12