summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-01 00:59:00 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-01 00:59:00 +0000
commita1460b5736b1e21384833dcc10a0f3f10ccf8255 (patch)
tree6934ddd5c5d5da038ba2c721c30dc72e96f3c369
parent7f73fc30d59cde22cfea63e7c88d660defd96e73 (diff)
Output proper error message when we cant write one of the makefiles etc
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10372 e03df62e-2008-0410-955e-edbf42e46eb7
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 14d40d4ba..2673509de 100755
--- a/configure
+++ b/configure
@@ -1349,7 +1349,7 @@ EOF
$tmp =~ s/\@INSTALL_LIST\@/$install_list/ if defined $install_list;
$tmp =~ s/\@UNINSTALL_LIST\@/$uninstall_list/ if defined $uninstall_list;
- open(FILEHANDLE, ">$file");
+ open(FILEHANDLE, ">$file") or die("Can't write to $file: $!\n");
print FILEHANDLE $tmp;
}
}