fetchfossil: Don't let Fossil write to $out/.fossil.
This commit is contained in:
@@ -3,7 +3,8 @@ header "Cloning Fossil $url into $out"
|
|||||||
|
|
||||||
# Fossil, bless its adorable little heart, wants to write global configuration
|
# Fossil, bless its adorable little heart, wants to write global configuration
|
||||||
# to $HOME/.fossil. AFAICT, there is no way to disable this functionality.
|
# to $HOME/.fossil. AFAICT, there is no way to disable this functionality.
|
||||||
export HOME=.
|
# Instead, we'll let it write to the build directory.
|
||||||
|
export HOME=$(pwd)
|
||||||
|
|
||||||
# We must explicitly set the admin user for the clone to something reasonable.
|
# We must explicitly set the admin user for the clone to something reasonable.
|
||||||
fossil clone -A nobody "$url" fossil-clone.fossil
|
fossil clone -A nobody "$url" fossil-clone.fossil
|
||||||
|
|||||||
Reference in New Issue
Block a user