File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /usr/bin/env bash
2
- set -euo pipefail
2
+ set -x
3
3
4
4
WORKDIR=/apps
5
5
DATA_DIR=$WORKDIR /data
@@ -25,7 +25,8 @@ grep -v '^ *//' $WORKDIR/taginfo/taginfo-config-example.json |
25
25
[[ ! -z $INSTANCE_CONTACT +z} ]] && jq --arg a " ${INSTANCE_CONTACT} " ' .instance.contact = $a' $WORKDIR /taginfo-config.json > tmp.json && mv tmp.json $WORKDIR /taginfo-config.json
26
26
27
27
# Function to replace the repo to get the projects information
28
- sed -i -e ' s/https://github.com/taginfo/taginfo-projects.git/' $TAGINFO_PROJECT_REPO ' /g' $WORKDIR /taginfo/sources/projects/update.sh
28
+ TAGINFO_PROJECT_REPO=${TAGINFO_PROJECT_REPO// \/ / \\ / }
29
+ sed -i -e ' s/https:\/\/github.com\/taginfo\/taginfo-projects.git/' $TAGINFO_PROJECT_REPO ' /g' $WORKDIR /taginfo/sources/projects/update.sh
29
30
30
31
# The follow line is requiered to avoid an issue -> require cannot load such file -- sqlite3
31
32
sed -i -e ' s/run_ruby "$SRCDIR\/update_characters.rb"/ruby "$SRCDIR\/update_characters.rb"/g' $WORKDIR /taginfo/sources/db/update.sh
You can’t perform that action at this time.
0 commit comments