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

Contents of /auto_build.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 142 - (show annotations) (download) (as text)
Fri Sep 10 15:58:22 2010 UTC (9 years, 5 months 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 #!/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 else
20 BUILD_SUB_OPTIONS="null"
21 fi
22 if [ "$3" == "--no-prebuild" ] ; then
23 BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-prebuild"
24 else
25 BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS null"
26 fi
27 if [ "$4" == "--no-cleanup" ] ; then
28 BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS --no-cleanup"
29 else
30 BUILD_SUB_OPTIONS="$BUILD_SUB_OPTIONS null"
31 fi
32
33
34 "$downstream_export_location/auto_build_latest_upstream.sh" "$OVERRIDE_TMP_BUILD_PATH_SAVE" $BUILD_SUB_OPTIONS

  ViewVC Help
Powered by ViewVC 1.1.22