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

Annotation of /auto_build.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (hide annotations) (download) (as text)
Fri Sep 10 13:19:26 2010 UTC (9 years, 8 months ago) by william
File MIME type: application/x-sh
File size: 795 byte(s)
Save Build Path to temporary variable
fix BUILD -> 
    export DISABLE_AUTO_BRANCH="0" (previously not set)
    export DISABLE_PREBUILD="0" (previously not set)
    export DISABLE_CLEANUP="0" (previously not set)
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     fi
20     if [ "$3" == "--no-prebuild" ] ; then
21     BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-prebuild"
22     else
23 william 134 "$downstream_export_location/auto_prebuild_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH_SAVE"
24 william 110 fi
25     if [ "$4" == "--no-cleanup" ] ; then
26     BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-cleanup"
27     fi
28    
29    
30 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