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

Diff of /auto_update_from_upstream.sh

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

revision 108 by william, Thu Sep 9 20:37:18 2010 UTC revision 113 by william, Thu Sep 9 21:19:52 2010 UTC
# Line 26  if [ "$upstream_revision" == "HEAD" ] ; Line 26  if [ "$upstream_revision" == "HEAD" ] ;
26          echo $upstream_revision          echo $upstream_revision
27          upstream_repository_url=`svn info --xml | grep "<url>" | sed s/"^<url>"// | sed s/"<\/url>$"//`          upstream_repository_url=`svn info --xml | grep "<url>" | sed s/"^<url>"// | sed s/"<\/url>$"//`
28          echo "$upstream_repository_url" > "$upstream_trunk/trunk/upstream_repository_url.txt"          echo "$upstream_repository_url" > "$upstream_trunk/trunk/upstream_repository_url.txt"
29            #UPDATE PCSX2 VERSION
30            PCSX2_VERSION="pcsx2-$upstream_current_version_branch-r$upstream_revision-$downstream_build_configuration";
31            mkdir -p "$downstream_export_location/trunk/bin"
32            echo "$PCSX2_VERSION" > "$downstream_export_location/trunk/bin/pcsx2-version.txt"
33    
34  else  else
35          svn update -r "$upstream_revision" > /dev/null          svn update -r "$upstream_revision" > /dev/null
36          echo          echo
# Line 34  else Line 39  else
39          export upstream_revision=`cat "$upstream_trunk/trunk/upstream_repository_revision.txt"`          export upstream_revision=`cat "$upstream_trunk/trunk/upstream_repository_revision.txt"`
40          echo $upstream_revision          echo $upstream_revision
41          upstream_repository_url=`svn info --xml | grep "<url>" | sed s/"^<url>"// | sed s/"<\/url>$"//`          upstream_repository_url=`svn info --xml | grep "<url>" | sed s/"^<url>"// | sed s/"<\/url>$"//`
42            #UPDATE PCSX2 VERSION
43            PCSX2_VERSION="pcsx2-$upstream_current_version_branch-r$upstream_revision-$downstream_build_configuration";
44          echo "$upstream_repository_url" > "$upstream_trunk/trunk/upstream_repository_url.txt"          echo "$upstream_repository_url" > "$upstream_trunk/trunk/upstream_repository_url.txt"
45            mkdir -p "$downstream_export_location/trunk/bin"
46            echo "$PCSX2_VERSION" > "$downstream_export_location/trunk/bin/pcsx2-version.txt"
47    
48  fi  fi
49    
50    
 #UPDATE PCSX2 VERSION  
 PCSX2_VERSION="pcsx2-$upstream_current_version_branch-r$upstream_revision-$downstream_build_configuration"  
51    
52  export current_downstream_revision=`cat "$downstream_export_location/trunk/upstream_repository_revision.txt"`  export current_downstream_revision=`cat "$downstream_export_location/trunk/upstream_repository_revision.txt"`
53    
# Line 82  cp -f "$upstream_trunk/trunk/upstream_re Line 90  cp -f "$upstream_trunk/trunk/upstream_re
90  cp -f "$upstream_trunk/trunk/upstream_repository_url.txt" "$downstream_export_location/trunk/upstream_repository_url.txt" > /dev/null 2>/dev/null  cp -f "$upstream_trunk/trunk/upstream_repository_url.txt" "$downstream_export_location/trunk/upstream_repository_url.txt" > /dev/null 2>/dev/null
91    
92    
 mkdir -p "$downstream_export_location/trunk/bin"  
 echo "$PCSX2_VERSION" > "$downstream_export_location/trunk/bin/pcsx2-version.txt"  
93    
94    
95  echo  echo

Legend:
Removed from v.108  
changed lines
  Added in v.113

  ViewVC Help
Powered by ViewVC 1.1.22