bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI, bootstrap.conf tweak


From: Jim Meyering
Subject: FYI, bootstrap.conf tweak
Date: Wed, 26 Aug 2009 18:23:22 +0200

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 <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]