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

Diff of /auto_prebuild_latest_upstream.sh

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

revision 125 by william, Fri Sep 10 06:12:10 2010 UTC revision 134 by william, Fri Sep 10 13:19:26 2010 UTC
# Line 11  fi Line 11  fi
11    
12  #clean up BUILD_TMP_DIR  #clean up BUILD_TMP_DIR
13  cd "$BUILD_TMP_DIR"  cd "$BUILD_TMP_DIR"
14  if [ -d "$PCSX2_BUILD_TMP" ] ; then  if [ -d "$VSC_PROJECT_ROOT" ] ; then
15          rm -Rf "$PCSX2_BUILD_TMP"          rm -Rf "$VSC_PROJECT_ROOT"
16  fi  fi
17    
18  # Make Build TMP Path  # Make Build TMP Path
19    
20  mkdir -p "$PCSX2_BUILD_TMP"  mkdir -p "$VSC_PROJECT_ROOT"
21  cd "$PCSX2_BUILD_TMP"  cd "$VSC_PROJECT_ROOT"
22    
23  echo  echo
24  echo "PERFORMING PREBUILD:"  echo "PERFORMING PREBUILD:"
25  # export trunk to tmp dir  # export trunk to tmp dir
26  echo -ne "\\tCOPYING: "$downstream_export_location/trunk" to $PCSX2_BUILD_TMP ... "  echo -ne "\\tCOPYING: "$downstream_export_location/trunk" to $VSC_PROJECT_ROOT ... "
27  #svn export --force "$downstream_export_location/trunk" "$PCSX2_BUILD_TMP" 2>/dev/null  #svn export --force "$downstream_export_location/trunk" "$VSC_PROJECT_ROOT" 2>/dev/null
28    
29  cd "$downstream_export_location/trunk/"  cd "$downstream_export_location/trunk/"
30  tar -cvf - --exclude=*.ncb . 2>/dev/null | (gzip -cf9 - 2>/dev/null ) | (cd "$PCSX2_BUILD_TMP"; tar -xvzf - 2>/dev/null) &>/dev/null && echo "done." || echo "failed."  tar -cvf - --exclude=*.ncb . 2>/dev/null | (gzip -cf9 - 2>/dev/null ) | (cd "$VSC_PROJECT_ROOT"; tar -xvzf - 2>/dev/null) &>/dev/null && echo "done." || echo "failed."
31    
32  cd "$PCSX2_BUILD_TMP"  cd "$VSC_PROJECT_ROOT"
33  # remove all .pch files  # remove all .pch files
34  find -name *.pch -exec rm -f {} \;  find -name *.pch -exec rm -f {} \;
35  echo "PREBUILD COMPLETED..."  echo "PREBUILD COMPLETED..."

Legend:
Removed from v.125  
changed lines
  Added in v.134

  ViewVC Help
Powered by ViewVC 1.1.22