summaryrefslogtreecommitdiff
path: root/m4/mkstemp.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-12-20 16:39:24 +0000
committerJim Meyering <jim@meyering.net>2004-12-20 16:39:24 +0000
commit8d240b9d744e4def7cfd921c37a9f326bceadf40 (patch)
tree013fa0cbeb00a13d0902cf6ff3f2f3a999af83e3 /m4/mkstemp.m4
parent26ae196f5bf993f5b88e41f108d9548667e12018 (diff)
downloadcoreutils-8d240b9d744e4def7cfd921c37a9f326bceadf40.tar.xz
Do the `cd' in a subshell.
Diffstat (limited to 'm4/mkstemp.m4')
-rw-r--r--m4/mkstemp.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/mkstemp.m4 b/m4/mkstemp.m4
index 320e52092..4b036c927 100644
--- a/m4/mkstemp.m4
+++ b/m4/mkstemp.m4
@@ -16,7 +16,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
gl_cv_func_mkstemp_limitations,
[
mkdir conftest.mkstemp
- cd conftest.mkstemp
+ ( cd conftest.mkstemp
AC_TRY_RUN([
# include <stdlib.h>
int main ()
@@ -37,6 +37,7 @@ AC_DEFUN([gl_FUNC_MKSTEMP],
gl_cv_func_mkstemp_limitations=yes,
gl_cv_func_mkstemp_limitations=yes
)
+ )
]
)
fi