This commit is contained in:
Eelco Dolstra
2017-12-25 15:02:17 +01:00
parent 0d79f16fd5
commit 8913c682cf
4 changed files with 7 additions and 7 deletions

View File

@ -240,7 +240,7 @@ else
tmpPath="$(mktemp -d "${TMPDIR:-/tmp}/git-checkout-tmp-XXXXXXXX")"
trap "rm -rf \"$tmpPath\"" EXIT
tmpFile="$tmpPath/git-export"
tmpFile="$tmpPath/source"
mkdir "$tmpFile"
# Perform the checkout.

View File

@ -38,7 +38,7 @@ if test -z "$finalPath"; then
tmpPath="$(mktemp -d "${TMPDIR:-/tmp}/hg-checkout-tmp-XXXXXXXX")"
trap "rm -rf \"$tmpPath\"" EXIT
tmpArchive="$tmpPath/hg-archive"
tmpArchive="$tmpPath/source"
# Perform the checkout.
if [[ $url != /* ]]; then