mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-28 14:39:43 +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
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue