fetchfossil: Don't let Fossil write to $out/.fossil.

This commit is contained in:
Corbin 2016-08-18 23:16:37 -07:00
parent 20a0e2e3bf
commit 23a50ca407

View File

@ -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