get 'svn' out of the version string variable

This commit is contained in:
Andy2 2011-08-16 19:26:53 -07:00
parent dc693e4d6a
commit 11f6d96be9
3 changed files with 3 additions and 3 deletions

View file

@ -287,7 +287,7 @@
android:defaultValue="false"
/>
<EditTextPreference android:title="@string/git_rev_title"
android:summary="@string/git_rev_gen"
android:summary="@string/git_rev"
android:enabled="false"
/>
</PreferenceScreen>

View file

@ -28,7 +28,7 @@ public class XWApp extends Application {
public void onCreate()
{
Utils.logEnable( this );
Utils.logf( "XWApp.onCreate(); svn_rev=%s", getString(R.string.git_rev_gen) );
Utils.logf( "XWApp.onCreate(); git_rev=%s", getString(R.string.git_rev) );
super.onCreate();
}
}

View file

@ -13,7 +13,7 @@ cat <<EOF > android/XWords4/res/values/git_string.xml
<!-- auto-generated; do not edit -->
<resources>
<string name="git_rev_gen">$GITVERSION</string>
<string name="git_rev">$GITVERSION</string>
</resources>
EOF