I had a ChangeLog file that was a dangling symlink,
pointing into an unwritable directory.  It took 30s longer
to diagnose the failure than it should have, hence this patch.

>From 847359b11d75df47a611ce9214246af7a62ac5e3 Mon Sep 17 00:00:00 2001
From: Jim Meyering <[email protected]>
Date: Wed, 26 Aug 2009 18:20:55 +0200
Subject: [PATCH] build: stop earlier if touching ChangeLog fails

* bootstrap.conf: Exit right away if touching ChangeLog fails.
Otherwise, the touch failure message is buried under configure output.
---
 bootstrap.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bootstrap.conf b/bootstrap.conf
index 991e5bd..7ec4b3b 100644
--- a/bootstrap.conf
+++ b/bootstrap.conf
@@ -316,4 +316,4 @@ tar        -
 "

 # Automake requires that ChangeLog exist.
-touch ChangeLog
+touch ChangeLog || exit 1
--
1.6.4.1.341.gf2a44


Reply via email to