Created
December 12, 2020 11:08
-
-
Save ezhov-da/1529c2d3989bff653a491f1a79285e71 to your computer and use it in GitHub Desktop.
Директория запуска скрипта
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> https://stackoverflow.com/questions/59895/how-to-get-the-source-directory-of-a-bash-script-from-within-the-script-itself | |
DIR=$(dirname "${BASH_SOURCE[0]}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment