]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Do the `cd' in a subshell.
authorJim Meyering <jim@meyering.net>
Mon, 20 Dec 2004 16:39:24 +0000 (16:39 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 20 Dec 2004 16:39:24 +0000 (16:39 +0000)
m4/mkstemp.m4

index 320e520928d71d3502595564d719bdd3d9504e7d..4b036c927ad5c296a9d274f576732bb278eac721 100644 (file)
@@ -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