Skip to content

Commit

Permalink
rename main; unset function after using it
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Oct 23, 2024
1 parent f9d04b4 commit 8423c88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function _tue-check-env-vars
}
export -f _tue-check-env-vars

function main
function _tue-env-main
{
# -----------------------------------------
# Set the TUE_DIR variable
Expand Down Expand Up @@ -108,4 +108,6 @@ function main
fi
}

main "$@"
_tue-env-main "$@"

unset -f _tue-env-main

0 comments on commit 8423c88

Please sign in to comment.