/[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/10 13:19:26	134
@@ -5,8 +5,26 @@
 if [ "$1" != "" ] ; then
 	export OVERRIDE_TMP_BUILD_PATH="$1"
 	. ./auto_build_defs.sh
+else
+	OVERRIDE_TMP_BUILD_PATH="pcsx2_build_stageing_$BUILD_TMP_SEED"
+	. ./auto_build_defs.sh
+fi
+
+export OVERRIDE_TMP_BUILD_PATH_SAVE="$OVERRIDE_TMP_BUILD_PATH"
+
+export BUILD_SUB_OPTIONS=""
+
+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_SAVE"
+fi 
+if [ "$4" == "--no-cleanup" ] ; then
+	BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-cleanup" 
 fi
 
 
-"$downstream_export_location/auto_prebuild_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH"
-"$downstream_export_location/auto_build_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH"
+"$downstream_export_location/auto_build_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH_SAVE" $BUILD_SUB_OPTIONS

 

  ViewVC Help
Powered by ViewVC 1.1.22