Add ShellCheck (#6407)

Co-authored-by: IvanCraft623 <57236932+IvanCraft623@users.noreply.github.com>
This commit is contained in:
zSALLAZAR
2024-08-19 23:52:51 +02:00
committed by GitHub
parent e6f9cdd990
commit bdbcfd10cc
3 changed files with 18 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
DIR="$(cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
cd "$DIR"
cd "$DIR" || { echo "Couldn't change directory to $DIR"; exit 1; }
while getopts "p:f:l" OPTION 2> /dev/null; do
case ${OPTION} in