diff options
author | Jim Meyering <jim@meyering.net> | 2004-12-20 16:39:24 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-12-20 16:39:24 +0000 |
commit | 8d240b9d744e4def7cfd921c37a9f326bceadf40 (patch) | |
tree | 013fa0cbeb00a13d0902cf6ff3f2f3a999af83e3 /m4 | |
parent | 26ae196f5bf993f5b88e41f108d9548667e12018 (diff) | |
download | coreutils-8d240b9d744e4def7cfd921c37a9f326bceadf40.tar.xz |
Do the `cd' in a subshell.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/mkstemp.m4 | 3 |
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 |