mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-31 15:32:45 +00:00
Add shebangs to bash scripts
To specify used interpreter and set exit on error mode.
This commit is contained in:
parent
66b1745520
commit
491525d173
@ -1,4 +1,4 @@
|
|||||||
set -e
|
#!/bin/bash -e
|
||||||
|
|
||||||
docs/source/install_luadocumentor_in_docker.sh
|
docs/source/install_luadocumentor_in_docker.sh
|
||||||
PATH=$PATH:~/luarocks/bin
|
PATH=$PATH:~/luarocks/bin
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
if [ ! -f /.dockerenv ] && [ ! -f /home/docs/omw_luadoc_docker ]; then
|
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.'
|
echo 'This script installs lua-5.1, luarocks, and openmwluadocumentor to $HOME. Should be used only in docker.'
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user