Add shebangs to bash scripts

To specify used interpreter and set exit on error mode.
macos_ci_fix
elsid 4 months ago
parent 66b1745520
commit 491525d173
No known key found for this signature in database
GPG Key ID: 4DE04C198CBA7625

@ -1,4 +1,4 @@
set -e
#!/bin/bash -e
docs/source/install_luadocumentor_in_docker.sh
PATH=$PATH:~/luarocks/bin

@ -1,3 +1,5 @@
#!/bin/bash -e
if [ ! -f /.dockerenv ] && [ ! -f /home/docs/omw_luadoc_docker ]; then
echo 'This script installs lua-5.1, luarocks, and openmwluadocumentor to $HOME. Should be used only in docker.'
exit 1

Loading…
Cancel
Save