trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpe...@apache.org
Subject [2/4] git commit: ci: more robust autoreconf detection
Date Tue, 20 Aug 2013 19:26:19 GMT
ci: more robust autoreconf detection


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/eb1726dd
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/eb1726dd
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/eb1726dd

Branch: refs/heads/master
Commit: eb1726dd64c32b9894fa212bb2ec9d791220d2bd
Parents: 8a0557f
Author: James Peach <jpeach@apache.org>
Authored: Tue Aug 20 11:47:32 2013 -0700
Committer: James Peach <jpeach@apache.org>
Committed: Tue Aug 20 11:47:32 2013 -0700

----------------------------------------------------------------------
 ci/regression | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/eb1726dd/ci/regression
----------------------------------------------------------------------
diff --git a/ci/regression b/ci/regression
index 3b2eca8..9303955 100755
--- a/ci/regression
+++ b/ci/regression
@@ -75,12 +75,13 @@ extras() {
 }
 
 autogen() {
-  [[ -e "$SRCROOT/configure" ]] || ( cd $SRCROOT && autoreconf -fi )
+  (
+    cd "$SRCROOT"
+    [ configure -nt configure.ac -a Makefile -nt Makefile.am ] || autoreconf -fi
+  )
 }
 
 configure() {
-  [[ -e "$SRCROOT/Makefile" ]] && ( cd $SRCROOT && make distclean)
-
   (
     cd $OBJROOT
     $SRCROOT/configure \


Mime
View raw message