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

Contents of /auto_prebuild_latest_upstream.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (show annotations) (download) (as text)
Thu Sep 9 17:49:17 2010 UTC (9 years, 4 months ago) by william
File MIME type: application/x-sh
File size: 759 byte(s)
fix double call of prebuild, can call auto_build.sh from auto_branch_latest_upstream.sh
1 #!/bin/bash
2 . ./auto_defs.sh
3
4 export AUTO_PREBUILD_DONE=""
5
6 if [ "$1" != "" ] ; then
7 export OVERRIDE_TMP_BUILD_PATH="$1"
8 . ./auto_build_defs.sh
9 fi
10
11
12 #clean up BUILD_TMP_DIR
13 cd "$BUILD_TMP_DIR"
14 rm -Rf *
15
16 # Make Build TMP Path
17
18 mkdir -p "$PCSX2_BUILD_TMP"
19 cd "$PCSX2_BUILD_TMP"
20
21 echo
22 echo "PERFORMING PREBUILD:"
23 # export latest branch to tmp dir
24 echo -ne "\\tCOPYING: "$BRANCH_LOCATION/$BRANCH_NAME" to $PCSX2_BUILD_TMP ... "
25 #svn export --force "$BRANCH_LOCATION/$BRANCH_NAME" "$PCSX2_BUILD_TMP" 2>/dev/null
26 cp -Rf "$BRANCH_LOCATION/$BRANCH_NAME"/* "$PCSX2_BUILD_TMP" 2>/dev/null && echo "done." || echo "failed."
27
28
29 # remove all .pch files
30 find -name *.pch -exec rm -f {} \;
31 echo "PREBUILD COMPLETED..."
32 AUTO_PREBUILD_DONE="true"
33 echo

  ViewVC Help
Powered by ViewVC 1.1.22