/[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 97 - (hide annotations) (download) (as text)
Thu Sep 9 17:42:06 2010 UTC (10 years, 2 months ago) by william
File MIME type: application/x-sh
File size: 703 byte(s)
allow overriding of temporary build path.

scripts puts all temporary builds under the /tmp/ folder (using a dynamically generated folder under this)
pass the folder to use as the override like this: ** note do not prefix path with a '/'
./auto_build.sh "path/to/folder"     -> (calls prebuild and build with path)
-- to prebuild or build a different folder under the /tmp/ dir
./auto_prebuild_latest_upstream.sh "path/to/folder"
./auto_build_latest_upstream.sh "path/to/folder"

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

  ViewVC Help
Powered by ViewVC 1.1.22