diff options
author | hobbs <hobbs> | 2005-05-25 17:46:22 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-05-25 17:46:22 (GMT) |
commit | b3997b4d5d08c3e0c1ba2a0221f53861b252c8db (patch) | |
tree | ea6d991897d0d966c6031b22a03ab05acaae0b52 /unix | |
parent | 6dfa2486c8892cf041351eb8870a7da62a3c3972 (diff) | |
download | tk-b3997b4d5d08c3e0c1ba2a0221f53861b252c8db.zip tk-b3997b4d5d08c3e0c1ba2a0221f53861b252c8db.tar.gz tk-b3997b4d5d08c3e0c1ba2a0221f53861b252c8db.tar.bz2 |
* unix/Makefile.in (install-libraries): protect possible empty
list in for with list= trick for older shells.
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 8 |
1 files changed, 4 insertions, 4 deletions
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; |