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

Annotation of /auto_build.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142 - (hide annotations) (download) (as text)
Fri Sep 10 15:58:22 2010 UTC (10 years ago) by william
File MIME type: application/x-sh
File size: 826 byte(s)
fix $SUB_BUILD_OPTIONS and don't call prebuild from auto_build.sh
1 william 97 #!/bin/bash
2     . ./auto_defs.sh
3    
4    
5     if [ "$1" != "" ] ; then
6     export OVERRIDE_TMP_BUILD_PATH="$1"
7     . ./auto_build_defs.sh
8 william 134 else
9     OVERRIDE_TMP_BUILD_PATH="pcsx2_build_stageing_$BUILD_TMP_SEED"
10     . ./auto_build_defs.sh
11 william 97 fi
12    
13 william 134 export OVERRIDE_TMP_BUILD_PATH_SAVE="$OVERRIDE_TMP_BUILD_PATH"
14    
15 william 110 export BUILD_SUB_OPTIONS=""
16 william 97
17 william 110 if [ "$2" == "--no-auto-branch" ] ; then
18     BUILD_SUB_OPTIONS="--no-auto-branch"
19 william 142 else
20     BUILD_SUB_OPTIONS="null"
21 william 110 fi
22     if [ "$3" == "--no-prebuild" ] ; then
23     BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-prebuild"
24     else
25 william 142 BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS null"
26 william 110 fi
27     if [ "$4" == "--no-cleanup" ] ; then
28     BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-cleanup"
29 william 142 else
30     BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS null"
31 william 110 fi
32    
33    
34 william 134 "$downstream_export_location/auto_build_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH_SAVE" $BUILD_SUB_OPTIONS

  ViewVC Help
Powered by ViewVC 1.1.22