Make shellcheck happier
This commit is contained in:
4
default.sh
Normal file
4
default.sh
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "ignoring"
|
||||||
|
exit 0
|
||||||
@@ -11,8 +11,10 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
source "$DIR/_reformat-common.bash"
|
source "$DIR/_reformat-common.bash"
|
||||||
|
|
||||||
file="$1"
|
file="$1"
|
||||||
export PROJECT_ROOT=$(project_root "$file")
|
PROJECT_ROOT=$(project_root "$file")
|
||||||
export WF_ROOT=$(wf_root)
|
export PROJECT_ROOT="$PROJECT_ROOT"
|
||||||
|
WF_ROOT=$(wf_root)
|
||||||
|
export WF_ROOT="$WF_ROOT"
|
||||||
|
|
||||||
## fixme use realpath or something on "$file"
|
## fixme use realpath or something on "$file"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user