From: Sandro Santilli Date: Mon, 12 Oct 2015 15:27:42 +0000 (+0000) Subject: No need to check for path existance when using mkpath X-Git-Tag: 2.3.0beta1~430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afb0fc7d478bed9970c2e13a12b6161655e7cc35;p=postgis No need to check for path existance when using mkpath The check would be done internally git-svn-id: http://svn.osgeo.org/postgis/trunk@14266 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/run_test.pl b/regress/run_test.pl index 263b97aff..0eaf562b6 100755 --- a/regress/run_test.pl +++ b/regress/run_test.pl @@ -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";