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

Annotation of /auto_prebuild_latest_upstream.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 99 - (hide annotations) (download) (as text)
Thu Sep 9 17:56:45 2010 UTC (10 years, 1 month ago) by william
File MIME type: application/x-sh
File size: 816 byte(s)
When prebuild: Don't delete everything in $BUILD_TMP_DIR, only remove $PCSX2_BUILD_TMP [if it exists]

1 william 96 #!/bin/bash
2     . ./auto_defs.sh
3    
4 william 98 export AUTO_PREBUILD_DONE=""
5    
6 william 97 if [ "$1" != "" ] ; then
7     export OVERRIDE_TMP_BUILD_PATH="$1"
8     . ./auto_build_defs.sh
9     fi
10    
11    
12 william 96 #clean up BUILD_TMP_DIR
13     cd "$BUILD_TMP_DIR"
14 william 99 if [ -d "$PCSX2_BUILD_TMP" ] ; then
15     rm -Rf "$PCSX2_BUILD_TMP"
16     fi
17 william 96
18     # Make Build TMP Path
19 william 97
20 william 96 mkdir -p "$PCSX2_BUILD_TMP"
21     cd "$PCSX2_BUILD_TMP"
22    
23     echo
24     echo "PERFORMING PREBUILD:"
25     # export latest branch to tmp dir
26     echo -ne "\\tCOPYING: "$BRANCH_LOCATION/$BRANCH_NAME" to $PCSX2_BUILD_TMP ... "
27     #svn export --force "$BRANCH_LOCATION/$BRANCH_NAME" "$PCSX2_BUILD_TMP" 2>/dev/null
28     cp -Rf "$BRANCH_LOCATION/$BRANCH_NAME"/* "$PCSX2_BUILD_TMP" 2>/dev/null && echo "done." || echo "failed."
29    
30    
31     # remove all .pch files
32     find -name *.pch -exec rm -f {} \;
33     echo "PREBUILD COMPLETED..."
34 william 98 AUTO_PREBUILD_DONE="true"
35 william 96 echo

  ViewVC Help
Powered by ViewVC 1.1.22