Unverified Commit b8b939cd authored by rnhmjoj's avatar rnhmjoj
Browse files

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.
parent 1f35c7be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)
+1 −1
Original line number Diff line number Diff line
@@ -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"