Skip to content

Commit

Permalink
Keep export.sh Bourne Shell compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
panduit-mik committed Sep 26, 2023
1 parent 2bc1f2f commit c4da3d4
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 [[ "$OSTYPE" == "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 c4da3d4

Please sign in to comment.