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

Contents of /auto_build.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 134 - (show annotations) (download) (as text)
Fri Sep 10 13:19:26 2010 UTC (9 years, 5 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 #!/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 else
9 OVERRIDE_TMP_BUILD_PATH="pcsx2_build_stageing_$BUILD_TMP_SEED"
10 . ./auto_build_defs.sh
11 fi
12
13 export OVERRIDE_TMP_BUILD_PATH_SAVE="$OVERRIDE_TMP_BUILD_PATH"
14
15 export BUILD_SUB_OPTIONS=""
16
17 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 "$downstream_export_location/auto_prebuild_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH_SAVE"
24 fi
25 if [ "$4" == "--no-cleanup" ] ; then
26 BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-cleanup"
27 fi
28
29
30 "$downstream_export_location/auto_build_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH_SAVE" $BUILD_SUB_OPTIONS

  ViewVC Help
Powered by ViewVC 1.1.22