/[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 96 - (hide annotations) (download) (as text)
Thu Sep 9 17:10:43 2010 UTC (10 years, 1 month ago) by william
File MIME type: application/x-sh
File size: 589 byte(s)
seperated pre-build from auto_build_latest_upstream.sh and put into auto_prebuild_latest_upstream.sh (this allows one to create a temporary build location without distrubing and trunk/branch line)
1 william 96 #!/bin/bash
2     . ./auto_defs.sh
3    
4     #clean up BUILD_TMP_DIR
5     cd "$BUILD_TMP_DIR"
6     rm -Rf *
7    
8     # Make Build TMP Path
9     mkdir -p "$PCSX2_BUILD_TMP"
10    
11     cd "$PCSX2_BUILD_TMP"
12    
13     echo
14     echo "PERFORMING PREBUILD:"
15     # export latest branch to tmp dir
16     echo -ne "\\tCOPYING: "$BRANCH_LOCATION/$BRANCH_NAME" to $PCSX2_BUILD_TMP ... "
17     #svn export --force "$BRANCH_LOCATION/$BRANCH_NAME" "$PCSX2_BUILD_TMP" 2>/dev/null
18     cp -Rf "$BRANCH_LOCATION/$BRANCH_NAME"/* "$PCSX2_BUILD_TMP" 2>/dev/null && echo "done." || echo "failed."
19    
20    
21     # remove all .pch files
22     find -name *.pch -exec rm -f {} \;
23     echo "PREBUILD COMPLETED..."
24     echo

  ViewVC Help
Powered by ViewVC 1.1.22