sh -e everywhere

To avoid silently ignored errors.
pull/4569/head
Niklas Fiekas 2018-08-25 11:25:08 +02:00
parent 05e7c16a9a
commit 9e90b7bd1d
13 changed files with 13 additions and 13 deletions

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
COMMAND=$* COMMAND=$*

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
COMMAND=$* COMMAND=$*

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
COMMAND=$* COMMAND=$*
PASSWORD=$LILA_CLI_PASSWORD PASSWORD=$LILA_CLI_PASSWORD

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
# Starts a dev console to compile and run lichess. # Starts a dev console to compile and run lichess.
# To edit this file, copy it to bin/dev: it's not indexed by Git. # To edit this file, copy it to bin/dev: it's not indexed by Git.

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
mkdir -p data mkdir -p data
cd data cd data

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
PROD_URL="https://lichess.org" PROD_URL="https://lichess.org"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
REMOTE="clyde" REMOTE="clyde"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
. bin/lilarc . bin/lilarc
REMOTE="frank" REMOTE="frank"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
. bin/lilarc . bin/lilarc
REMOTE=$1 REMOTE=$1

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
# Run as root # Run as root
# #

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
REMOTE="keres" REMOTE="keres"
REMOTE_DIR="/home/lichess" REMOTE_DIR="/home/lichess"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh -e
DIR="/home/lichess" DIR="/home/lichess"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash -e
# Makes game-icons SVGs work as M$ Edge CSS background # Makes game-icons SVGs work as M$ Edge CSS background
grep -rl '.svg' ./public/images/practice/ | xargs sed -i 's/ style="height: 512px; width: 512px;"//g'; grep -rl '.svg' ./public/images/practice/ | xargs sed -i 's/ style="height: 512px; width: 512px;"//g';