fetchfossil: do not use nobody

Set the admin to the current user instead of nobody.

Note: this doesn't seem to affect the output hash.
This commit is contained in:
rnhmjoj
2026-04-12 15:05:05 +02:00
parent 1f35c7befe
commit b8b939cdcc
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ echo "Cloning Fossil $url [$rev] into $out"
export HOME=$(pwd)
# We must explicitly set the admin user for the clone to something reasonable.
fossil clone -A nobody "$url" fossil-clone.fossil
fossil clone -A $(whoami) "$url" fossil-clone.fossil
mkdir fossil-clone
WORKDIR=$(pwd)

View File

@@ -77,7 +77,7 @@ export HOME="$tmpPath"
echo "Fetching Fossil repository $url at revision $rev..." >&2
# Clone the repository
fossil clone -A nobody "$url" "$tmpPath/fossil-clone.fossil" >&2
fossil clone -A $(whoami) "$url" "$tmpPath/fossil-clone.fossil" >&2
# Create directory for checkout
checkoutDir="$tmpPath/checkout"