Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Casanowow Life for love
VLC-Android
Commits
ed4645ce
Commit
ed4645ce
authored
Oct 11, 2012
by
Jean-Baptiste Kempf
Browse files
rename package to change versionCode
parent
08aa6939
Changes
1
Show whitespace changes
Inline
Side-by-side
rename_package.sh
View file @
ed4645ce
#! /bin/sh
# Usage rename_package.sh <new_name> <ABI>
# new_name should be a string
# ABI should be an integer, between 0 and 4
OLD_NAME
=
org.videolan.vlc
NEW_NAME
=
org.videolan.vlc.
$1
echo
$NEW_NAME
$2
sed
-i
vlc-android/AndroidManifest.xml
-e
"s/versionCode
\(
.*
\)
0
\"
/versionCode
\1
$2
\"
/"
OLD_PATH
=
$(
echo
$OLD_NAME
|sed
's/\./\//g'
)
NEW_PATH
=
$(
echo
$NEW_NAME
|sed
's/\./\//g'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment