]> granicus.if.org Git - postgis/commitdiff
No need to check for path existance when using mkpath
authorSandro Santilli <strk@keybit.net>
Mon, 12 Oct 2015 15:27:42 +0000 (15:27 +0000)
committerSandro Santilli <strk@keybit.net>
Mon, 12 Oct 2015 15:27:42 +0000 (15:27 +0000)
The check would be done internally

git-svn-id: http://svn.osgeo.org/postgis/trunk@14266 b70326c6-7e19-0410-871a-916f4a2858ee

regress/run_test.pl

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