From a1460b5736b1e21384833dcc10a0f3f10ccf8255 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 1 Sep 2008 00:59:00 +0000 Subject: 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') 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; } } -- cgit v1.2.3