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

Diff of /auto_build_latest_upstream.sh

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

--- auto_build_latest_upstream.sh	2010/09/09 18:04:56	100
+++ auto_build_latest_upstream.sh	2010/09/09 18:13:48	102
@@ -11,6 +11,9 @@
 if [ "$2" == "--no-auto-tag" ] ; then
         DISABLE_AUTO_TAG="1"
 fi
+if [ "$3" == "--no-prebuild" ] ; then
+        DISABLE_PREBUILD="1"
+fi
 
 # output variables
 echo "---------------------------------------------------------------------------------------"
@@ -30,14 +33,17 @@
         
 
 # call auto prebuild
-if [ "$AUTO_PREBUILD_DONE" == "" ] ; then
-	"$downstream_export_location/auto_prebuild_latest_upstream.sh"
-	if [ "$AUTO_PREBUILD_DONE" != "true" ] ; then
-		echo "PREBUILD FAILED..."
-		exit 1
-	fi	
-	
-	
+if [ "$DISABLE_PREBUILD" == "0" ] ; then
+	if [ "$AUTO_PREBUILD_DONE" == "" ] ; then
+		"$downstream_export_location/auto_prebuild_latest_upstream.sh"
+		if [ "$AUTO_PREBUILD_DONE" != "true" ] ; then
+			echo "PREBUILD FAILED..."
+			exit 1
+		fi	
+	fi
+else
+echo "PREBUILD HAS BEEN DISABLED..."	
+echo	
 fi
 
 # START VISUAL STUDIO BUILD SUPPORT

 

  ViewVC Help
Powered by ViewVC 1.1.22