aboutsummaryrefslogtreecommitdiff
path: root/UnitTesting
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-03-31 22:45:19 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2009-03-31 22:45:19 +0000
commite7ab1841f42f1be2b733bf30a374cbf9958b6f81 (patch)
tree94b094f99b1e7ffef1be59748790cbf3d032d8a9 /UnitTesting
parent78625ee9d7bd994dd2ce78b76b7282444c181a83 (diff)
[Author: dmaclach]
Tries to fix Mac builds for GTM and QSB. TBR=thomasvl
Diffstat (limited to 'UnitTesting')
-rwxr-xr-xUnitTesting/RunMacOSUnitTests.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/UnitTesting/RunMacOSUnitTests.sh b/UnitTesting/RunMacOSUnitTests.sh
index d184566..91d19a7 100755
--- a/UnitTesting/RunMacOSUnitTests.sh
+++ b/UnitTesting/RunMacOSUnitTests.sh
@@ -210,8 +210,10 @@ if [ ! $GTM_DO_NOT_REMOVE_GCOV_DATA ]; then
if [ "${CONFIGURATION_TEMP_DIR}" != "-" ]; then
if [ -d "${CONFIGURATION_TEMP_DIR}" ]; then
GTMXcodeNote ${LINENO} "Removing gcov data files from ${CONFIGURATION_TEMP_DIR}"
- (cd "${CONFIGURATION_TEMP_DIR}" && \
- find . -type f -name "*.gcda" -print0 | xargs -0 rm -f )
+ SavedDir=$(pwd)
+ (cd "${CONFIGURATION_TEMP_DIR}" && \
+ find . -type f -name "*.gcda" -print0 | xargs -0 rm -f )
+ cd "${SavedDir}"
fi
fi
fi