Add reflector configuration
Improve dirname on scripts
This commit is contained in:
@@ -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 ]]
|
||||
|
||||
Reference in New Issue
Block a user