diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-01 00:59:00 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-09-01 00:59:00 +0000 |
commit | a1460b5736b1e21384833dcc10a0f3f10ccf8255 (patch) | |
tree | 6934ddd5c5d5da038ba2c721c30dc72e96f3c369 | |
parent | 7f73fc30d59cde22cfea63e7c88d660defd96e73 (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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } } |