summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das>2008-03-12 16:17:17 (GMT)
committerdas <das>2008-03-12 16:17:17 (GMT)
commit8363dbeaf5ab0a17acd7be7e499d009245452fae (patch)
tree49d5cd8f208008c8f15270efb35840be0690907a
parent0b9a56859f65e898c289e1d575a4c66241141537 (diff)
downloadtk-8363dbeaf5ab0a17acd7be7e499d009245452fae.zip
tk-8363dbeaf5ab0a17acd7be7e499d009245452fae.tar.gz
tk-8363dbeaf5ab0a17acd7be7e499d009245452fae.tar.bz2
handle quoting of possibly empty XLIB_INCLUDE_INSTALL_DIR. [Bug 1912679]
-rw-r--r--unix/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 0742a4f..3e07a21 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.139 2008/03/11 22:33:22 das Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.140 2008/03/12 16:17:17 das Exp $
# Current Tk version; used in various names.
@@ -738,7 +738,7 @@ install-libraries: libraries
"$(SCRIPT_INSTALL_DIR)" "$(SCRIPT_INSTALL_DIR)"/images \
"$(SCRIPT_INSTALL_DIR)"/msgs "$(SCRIPT_INSTALL_DIR)"/ttk; \
do \
- if [ ! -d "$$i" ] ; then \
+ if [ -n "$$i" -a ! -d "$$i" ] ; then \
echo "Making directory $$i"; \
mkdir -p "$$i"; \
chmod 755 "$$i"; \