Skip to content

Commit

Permalink
Merge pull request #3723 from crazyserver/MOBILE-4362
Browse files Browse the repository at this point in the history
Mobile 4362
  • Loading branch information
NoelDeMartin authored Jul 4, 2023
2 parents 8e413ba + 17ac4ba commit 26147e8
Show file tree
Hide file tree
Showing 8 changed files with 142 additions and 140 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ jobs:
apt:
packages:
- libsecret-1-dev
- php5-cli
- php5-common
- name: "Build iOS"
language: node_js
if: env(BUILD_IOS) = 1 AND (env(DEPLOY) = 1 OR (env(DEPLOY) = 2 AND tag IS NOT blank))
Expand Down
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash
source "scripts/functions.sh"

if [ -z $GIT_TOKEN ]; then
if [ -z "$GIT_TOKEN" ]; then
print_error "Env vars not correctly defined"
exit 1
fi

print_title "Run scripts"
git clone --depth 1 --single-branch --branch ionic5 https://$GIT_TOKEN@github.com/moodlemobile/apps-scripts.git ../scripts
git clone --depth 1 --single-branch --branch ionic5 https://"$GIT_TOKEN"@github.com/moodlemobile/apps-scripts.git ../scripts
cp ../scripts/*.sh scripts/

if [ ! -f scripts/platform.sh ]; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/create_langindex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi

cd $DIR
cd "$DIR"

source "functions.sh"
source "lang_functions.sh"
Expand All @@ -27,7 +27,7 @@ if [ ! -f 'langindex.json' ]; then
fi

findbetter=$1
parse_file $findbetter
parse_file "$findbetter"

echo

Expand Down
Loading

0 comments on commit 26147e8

Please sign in to comment.