/[pcsx2_0.9.7]/auto_build.sh
ViewVC logotype

Diff of /auto_build.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- auto_build.sh	2010/09/09 17:42:06	97
+++ auto_build.sh	2010/09/09 21:15:05	110
@@ -7,6 +7,19 @@
 	. ./auto_build_defs.sh
 fi
 
+export BUILD_SUB_OPTIONS=""
 
-"$downstream_export_location/auto_prebuild_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH"
-"$downstream_export_location/auto_build_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH"
+if [ "$2" == "--no-auto-branch" ] ; then
+	BUILD_SUB_OPTIONS="--no-auto-branch"
+fi
+if [ "$3" == "--no-prebuild" ] ; then
+	BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-prebuild" 
+else	
+	"$downstream_export_location/auto_prebuild_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH"
+fi 
+if [ "$4" == "--no-cleanup" ] ; then
+	BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-cleanup" 
+fi
+
+
+"$downstream_export_location/auto_build_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH" $BUILD_SUB_OPTIONS

 

  ViewVC Help
Powered by ViewVC 1.1.22