Commit 798cd09 1 parent c9daa1d commit 798cd09 Copy full SHA for 798cd09
File tree 5 files changed +8
-5
lines changed
editoast/assets/signal_sprites
5 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
+ # shellcheck disable=SC2317
2
3
3
4
# This script reads newline separated commit titles from stdin
4
5
# output an error message when titles are deemed invalid,
5
6
# and exits accordingly
6
7
7
8
if [ -z " $NOCOLOR " ]; then
8
9
RED=$( tput setaf 1 2> /dev/null)
9
- YELLOW=$( tput setaf 3 2> /dev/null)
10
10
BLUE=$( tput setaf 4 2> /dev/null)
11
11
RESET=$( tput sgr0 2> /dev/null)
12
12
fi
Original file line number Diff line number Diff line change @@ -202,6 +202,8 @@ jobs:
202
202
203
203
- name : Find and check all scripts using ShellCheck
204
204
uses : ludeeus/action-shellcheck@master
205
+ with :
206
+ ignore_names : gradlew
205
207
206
208
check_generated_railjson_sync :
207
209
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ for signaling_system in $(ls); do
20
20
cp " ${tmp_dir} " /sprites/sprites* " ${signaling_system} "
21
21
22
22
# Add a linefeed to the json files
23
- for json_file in $( ls " ${signaling_system} " /* .json) ; do
23
+ for json_file in " ${signaling_system} " /* .json; do
24
+ [ -e " $json_file " ] || continue
24
25
echo " " >> " ${json_file} "
25
26
done
26
27
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
3
- docker rm -f dyn-osrd-core-$1
3
+ docker rm -f " dyn-osrd-core-$1 "
4
4
5
5
docker compose \
6
6
-p " osrd" \
7
7
-f " docker-compose.yml" \
8
- exec rabbitmq rabbitmqctl delete_queue core-$1
8
+ exec rabbitmq rabbitmqctl delete_queue " core-$1 "
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ if [ "$#" -ne 1 ]; then
14
14
exit 1
15
15
fi
16
16
17
- root_path=" $( realpath $( dirname " $0 " ) /..) "
17
+ root_path=$( realpath " $( dirname " $0 " ) /.." )
18
18
19
19
# Check sha1 is matching
20
20
echo " Checking backup integrity..."
You can’t perform that action at this time.
0 commit comments