diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | unix/Makefile.in | 8 |
2 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2005-05-25 Jeff Hobbs <jeffh@ActiveState.com> + + * unix/Makefile.in (install-libraries): protect possible empty + list in for with list= trick for older shells. + 2005-05-24 Daniel Steffen <das@users.sourceforge.net> * 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; |