Skip to content

Commit dd12213

Browse files
committed
MOBILE-4368 scripts: Lang packs path should be different in both scripts
1 parent 9ff408d commit dd12213

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

scripts/create_langindex_functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
SERVER_URL='https://packaging.moodle.org/'
77

8+
LANGPACKS_PATH='/tmp/moodle-lang'
9+
810
# Downloads a file and if it's a zip file, unzip it.
911
function download_file {
1012
local url=$1

scripts/lang_functions.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
LANG_PATH='../src/assets/lang'
77
SUFFIX='' # Determines suffix of the langpacks to be merged. Ie, using wp will include en.json and en_wp.json
88
# (and the later will override the earlier).
9-
LANGPACKS_PATH='/tmp/moodleapp-lang'
109

1110
# Get the version of the Moodle App to fetch latest languages.
1211
function get_app_version {

scripts/update_lang_functions.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ APPMODULENAME='local_moodlemobileapp'
88
TOTAL_STRINGS=0
99
LANGINDEX_STRINGS=0
1010

11+
LANGPACKS_PATH='/tmp/moodleapp-lang'
12+
1113
function progressbar {
1214
let _progress=(${1}*100/100*100)/100
1315
let _done=(${_progress}*4)/10

0 commit comments

Comments
 (0)