Skip to content

Commit 401c463

Browse files
committedMay 20, 2017
creatensis.pl: avoid (harmless) postinstall.log message
(cherry picked from commit 0be274f)
1 parent 258c872 commit 401c463

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎ms-windows/osgeo4w/creatensis.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ sub getDeps {
274274
my $r = ">>postinstall.log 2>&1\r\n";
275275

276276
print F "\@echo off\r\n";
277-
print F "del postinstall.log\r\n";
277+
print F "if exist postinstall.log del postinstall.log\r\n";
278278
print F "set OSGEO4W_ROOT_MSYS=%OSGEO4W_ROOT:\\=/%$r";
279279
print F "if \"%OSGEO4W_ROOT_MSYS:~1,1%\"==\":\" set OSGEO4W_ROOT_MSYS=/%OSGEO4W_ROOT_MSYS:~0,1%/%OSGEO4W_ROOT_MSYS:~3%$r";
280280

0 commit comments

Comments
 (0)
Please sign in to comment.