mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Stop hard-coding env vars in the git scripts
Set the env vars: * TOR_MASTER_NAME to override the tor master branch name, and * TOR_WKT_NAME to override the worktree path Fixes bug 30841; bugfix on 0.4.0.1-alpha.
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
GIT_PATH=${TOR_FULL_GIT_PATH:-"FULL_PATH_TO_GIT_REPOSITORY_DIRECTORY"}
|
||||
# The tor master git repository directory from which all the worktree have
|
||||
# been created.
|
||||
TOR_MASTER_NAME="tor"
|
||||
TOR_MASTER_NAME=${TOR_MASTER_NAME:-"tor"}
|
||||
# The worktrees location (directory).
|
||||
TOR_WKT_NAME="tor-wkt"
|
||||
TOR_WKT_NAME=${TOR_WKT_NAME:-"tor-wkt"}
|
||||
|
||||
#########################
|
||||
# End of configuration. #
|
||||
|
||||
Reference in New Issue
Block a user