Skip to content

Commit

Permalink
refactor(tools): shellcheck pass modification
Browse files Browse the repository at this point in the history
Closes #12247
  • Loading branch information
Marek Fiala committed Oct 3, 2023
1 parent c4da3d4 commit addbc79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion export.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ __verbose() {

__script_dir(){
# shellcheck disable=SC2169,SC2169,SC2039,SC3010,SC3028 # unreachable with 'dash'
if [ `uname -s` = "Darwin" ]; then
if [ "$(uname -s)" = "Darwin" ]; then
# convert possibly relative path to absolute
script_dir="$(__realpath "${self_path}")"
# resolve any ../ references to make the path shorter
Expand Down

0 comments on commit addbc79

Please sign in to comment.