summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2018-11-12 09:26:25 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2018-11-12 09:26:25 (GMT)
commit18b503297b6aa3a5d5b1c4827896daa930c1155a (patch)
tree24683182c19765e1a1ff6cd897e4d9243139ecd9
parent44fd5b0f834eb22e1ced62f9e03badb0163e88a7 (diff)
downloadtcl-18b503297b6aa3a5d5b1c4827896daa930c1155a.zip
tcl-18b503297b6aa3a5d5b1c4827896daa930c1155a.tar.gz
tcl-18b503297b6aa3a5d5b1c4827896daa930c1155a.tar.bz2
Fix brokenness in GNUmakefile
-rw-r--r--macosx/GNUmakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/macosx/GNUmakefile b/macosx/GNUmakefile
index 7d19fc6..cbe081a 100644
--- a/macosx/GNUmakefile
+++ b/macosx/GNUmakefile
@@ -180,8 +180,10 @@ ifeq (${BUILD_STYLE}_${EMBEDDED_BUILD},Development_)
# Deployment build can be installed on top
# of Development build without overwriting
# the debug library
- @cd "${INSTALL_ROOT}${LIBDIR}/${PRODUCT_NAME}.framework/Versions/${VERSION}" && \
- ln -f "${PRODUCT_NAME}" "${PRODUCT_NAME}_debug"
+ @if [ -d "${INSTALL_ROOT}${LIBDIR}/${PRODUCT_NAME}.framework/Versions/${VERSION}" ]; then \
+ cd "${INSTALL_ROOT}${LIBDIR}/${PRODUCT_NAME}.framework/Versions/${VERSION}"; \
+ ln -f "${PRODUCT_NAME}" "${PRODUCT_NAME}_debug"; \
+ fi
endif
clean-${PROJECT}: %-${PROJECT}: