summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/GNUmakefile6
-rw-r--r--tests/unixInit.test3
2 files changed, 5 insertions, 4 deletions
diff --git a/macosx/GNUmakefile b/macosx/GNUmakefile
index 54eea8e..a1b7040 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}:
diff --git a/tests/unixInit.test b/tests/unixInit.test
index 05338ed..d0f83f3 100644
--- a/tests/unixInit.test
+++ b/tests/unixInit.test
@@ -336,8 +336,7 @@ test unixInit-3.1 {TclpSetInitialEncodings} -constraints {
return $enc
} -cleanup {
unset -nocomplain env(LANG)
-} -match regexp -result [expr {
- ($tcl_platform(os) eq "Darwin") ? "^utf-8$" : "^iso8859-15?$"}]
+} -match regexp -result {^(iso8859-15?|utf-8)$}
test unixInit-3.2 {TclpSetInitialEncodings} -setup {
catch {set oldlc_all $env(LC_ALL)}
} -constraints {unix stdio} -body {