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

Diff of /auto_build_latest_upstream.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 95 by william, Thu Sep 9 17:03:49 2010 UTC revision 97 by william, Thu Sep 9 17:42:06 2010 UTC
# Line 1  Line 1 
1  #!/bin/bash  #!/bin/bash
2  . ./auto_defs.sh  . ./auto_defs.sh
3    
4    if [ "$1" != "" ] ; then
5            export OVERRIDE_TMP_BUILD_PATH="$1"
6            . ./auto_build_defs.sh
7    fi
8    
9  # output variables  # output variables
10  echo "---------------------------------------------------------------------------------------"  echo "---------------------------------------------------------------------------------------"
11  echo "AUTO BUILD CONFIG:"  echo "AUTO BUILD CONFIG:"
# Line 23  if [ "$1" == "--no-auto-tag" ] ; then Line 28  if [ "$1" == "--no-auto-tag" ] ; then
28  fi  fi
29                    
30    
31  #clean up BUILD_TMP_DIR  # call auto prebuild
32  cd "$BUILD_TMP_DIR"  "$downstream_export_location/auto_prebuild_latest_upstream.sh"
 rm -Rf *  
   
 # Make Build TMP Path  
 mkdir -p "$PCSX2_BUILD_TMP"  
   
 cd "$PCSX2_BUILD_TMP"  
   
 echo  
 echo "PERFORMING PREBUILD:"  
 # export latest branch to tmp dir  
 echo -ne "\\tCOPYING: "$BRANCH_LOCATION/$BRANCH_NAME" to $PCSX2_BUILD_TMP ... "  
 #svn export --force "$BRANCH_LOCATION/$BRANCH_NAME" "$PCSX2_BUILD_TMP" 2>/dev/null  
 cp -Rf "$BRANCH_LOCATION/$BRANCH_NAME"/* "$PCSX2_BUILD_TMP" 2>/dev/null && echo "done." || echo "failed."  
   
   
 # remove all .pch files  
 find -name *.pch -exec rm -f {} \;  
 echo "PREBUILD COMPLETED..."  
 echo  
33    
34  # START VISUAL STUDIO BUILD SUPPORT  # START VISUAL STUDIO BUILD SUPPORT
35  export BUILD_SUCCESS=0  export BUILD_SUCCESS=0

Legend:
Removed from v.95  
changed lines
  Added in v.97

  ViewVC Help
Powered by ViewVC 1.1.22