MOBILE-4368 scripts: Lang packs path should be different in both scripts
parent
9ff408d3b9
commit
dd122138d3
|
@ -5,6 +5,8 @@
|
|||
|
||||
SERVER_URL='https://packaging.moodle.org/'
|
||||
|
||||
LANGPACKS_PATH='/tmp/moodle-lang'
|
||||
|
||||
# Downloads a file and if it's a zip file, unzip it.
|
||||
function download_file {
|
||||
local url=$1
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
LANG_PATH='../src/assets/lang'
|
||||
SUFFIX='' # Determines suffix of the langpacks to be merged. Ie, using wp will include en.json and en_wp.json
|
||||
# (and the later will override the earlier).
|
||||
LANGPACKS_PATH='/tmp/moodleapp-lang'
|
||||
|
||||
# Get the version of the Moodle App to fetch latest languages.
|
||||
function get_app_version {
|
||||
|
|
|
@ -8,6 +8,8 @@ APPMODULENAME='local_moodlemobileapp'
|
|||
TOTAL_STRINGS=0
|
||||
LANGINDEX_STRINGS=0
|
||||
|
||||
LANGPACKS_PATH='/tmp/moodleapp-lang'
|
||||
|
||||
function progressbar {
|
||||
let _progress=(${1}*100/100*100)/100
|
||||
let _done=(${_progress}*4)/10
|
||||
|
|
Loading…
Reference in New Issue