[banshee] Generate reautogen.sh to make my life easier



commit 684fd017258d6162d08f9a665b51f4a1e3ab16cf
Author: Aaron Bockover <abockover novell com>
Date:   Thu Oct 7 11:23:12 2010 -0400

    Generate reautogen.sh to make my life easier
    
    Run it without command line arguments and it will run autogen.sh the
    same way as it was run previously.

 .gitignore |    1 +
 autogen.sh |    9 ++++++++-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 643d75f..f3ad7f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,6 +21,7 @@ Makefile.in
 depcomp
 POTFILES
 intltool-*
+reautogen.sh
 configure
 config.guess
 config.h
diff --git a/autogen.sh b/autogen.sh
index 4849359..5bc9e06 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -87,5 +87,12 @@ if [ $# = 0 ]; then
 	echo "WARNING: I am going to run configure without any arguments."
 fi
 
-run ./configure --enable-maintainer-mode $@
 
+{ cat <<EOF
+#!/usr/bin/env bash
+./autogen.sh $@
+EOF
+} > reautogen.sh
+chmod +x reautoregen.sh
+
+run ./configure --enable-maintainer-mode $@



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