Add reflector configuration

Improve dirname on scripts
This commit is contained in:
2024-09-13 11:42:27 +02:00
parent d4539b6c2b
commit f8780fa846
8 changed files with 58 additions and 13 deletions

View File

@@ -1,8 +1,6 @@
#!/bin/bash
_BASENAME=$(basename "$0")
_DIRNAME="$(cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd)"
cd "$_DIRNAME" || _exit 1
cd -- "$(dirname -- "$0")" || exit
## if not $1
if [[ -z $1 ]]