[banshee] [profile-configure] pass --enable-maintainer-mode



commit 8dfebd7da9358a251836fcf3848e92056f18024f
Author: Aaron Bockover <abockover novell com>
Date:   Mon Apr 5 10:57:45 2010 -0400

    [profile-configure] pass --enable-maintainer-mode
    
    Pass the flag if the .git directory exists.

 profile-configure |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/profile-configure b/profile-configure
index 1ff7a13..af46974 100755
--- a/profile-configure
+++ b/profile-configure
@@ -32,6 +32,9 @@ for ((i=0; i<${#profiles[ ]}; i++)); do
 		for ((j=1; j<${#profile[ ]}; j++)); do
 			configure="$configure ${profile[$j]}"
 		done
+		if [ -d .git ]; then
+			configure="$configure --enable-maintainer-mode"
+		fi
 		echo "Running $configure $@"
 		$configure $@
 		exit $?



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