/[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

--- auto_update_from_upstream.sh	2010/09/09 20:37:18	108
+++ auto_update_from_upstream.sh	2010/09/09 21:19:52	113
@@ -26,6 +26,11 @@
 	echo $upstream_revision
 	upstream_repository_url=`svn info --xml | grep "<url>" | sed s/"^<url>"// | sed s/"<\/url>$"//`
 	echo "$upstream_repository_url" > "$upstream_trunk/trunk/upstream_repository_url.txt"
+	#UPDATE PCSX2 VERSION
+	PCSX2_VERSION="pcsx2-$upstream_current_version_branch-r$upstream_revision-$downstream_build_configuration";
+	mkdir -p "$downstream_export_location/trunk/bin"
+	echo "$PCSX2_VERSION" > "$downstream_export_location/trunk/bin/pcsx2-version.txt"
+
 else
 	svn update -r "$upstream_revision" > /dev/null
 	echo
@@ -34,12 +39,15 @@
 	export upstream_revision=`cat "$upstream_trunk/trunk/upstream_repository_revision.txt"`
 	echo $upstream_revision
 	upstream_repository_url=`svn info --xml | grep "<url>" | sed s/"^<url>"// | sed s/"<\/url>$"//`
+	#UPDATE PCSX2 VERSION
+	PCSX2_VERSION="pcsx2-$upstream_current_version_branch-r$upstream_revision-$downstream_build_configuration";
 	echo "$upstream_repository_url" > "$upstream_trunk/trunk/upstream_repository_url.txt"
+	mkdir -p "$downstream_export_location/trunk/bin"
+	echo "$PCSX2_VERSION" > "$downstream_export_location/trunk/bin/pcsx2-version.txt"
+
 fi
 
 
-#UPDATE PCSX2 VERSION
-PCSX2_VERSION="pcsx2-$upstream_current_version_branch-r$upstream_revision-$downstream_build_configuration"
 
 export current_downstream_revision=`cat "$downstream_export_location/trunk/upstream_repository_revision.txt"`
 
@@ -82,8 +90,6 @@
 cp -f "$upstream_trunk/trunk/upstream_repository_url.txt" "$downstream_export_location/trunk/upstream_repository_url.txt" > /dev/null 2>/dev/null
 
 
-mkdir -p "$downstream_export_location/trunk/bin"
-echo "$PCSX2_VERSION" > "$downstream_export_location/trunk/bin/pcsx2-version.txt"
 
 
 echo

 

  ViewVC Help
Powered by ViewVC 1.1.22