]> granicus.if.org Git - postgis/commitdiff
Create full temporary path if not existing
authorSandro Santilli <strk@keybit.net>
Mon, 12 Oct 2015 15:22:56 +0000 (15:22 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 12 Oct 2015 15:22:56 +0000 (15:22 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@14264 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test.pl

index ae5cd42d20f6d364d42aadc4986b0d6a3c4b81d7..263b97aff33c8e6721de6ba0e3b13b2b8293b1f2 100755 (executable)
@@ -196,7 +196,7 @@ else
        $TMPDIR = tempdir( CLEANUP => 0 );
 }
 
-mkdir $TMPDIR if ( ! -d $TMPDIR );
+mkpath $TMPDIR if ( ! -d $TMPDIR );
 
 # Set log name
 my $REGRESS_LOG = "${TMPDIR}/regress_log";