mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-28 18:18:52 +00:00
Error on missing arguments for the Teal script
This commit is contained in:
parent
dd3c89c5db
commit
84712b55bb
@ -1,5 +1,12 @@
|
||||
# Requires the LUAROCKS variable to be set to the luarocks/bin directory, e. g. `~/.luarocks/bin`
|
||||
# takes an absolute path to the output directory as the argument
|
||||
if [ -z "$LUAROCKS" ]; then
|
||||
echo "Requires the LUAROCKS variable to be set to the luarocks/bin directory, e. g. `~/.luarocks/bin`"
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Takes an absolute path to the output directory as the argument"
|
||||
exit
|
||||
fi
|
||||
|
||||
DOCS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
FILES_DIR=$(realpath $DOCS_DIR/../files)
|
||||
|
Loading…
Reference in New Issue
Block a user