Fix erroneous arguments to mktemp

This commit is contained in:
Salt 2020-09-02 17:17:38 -05:00
parent 1119995914
commit 2761fee87e

View File

@ -102,7 +102,7 @@ build-home() {
# Clone our repo into a temporary directory # Clone our repo into a temporary directory
log "Cloning repository into temporary directory" log "Cloning repository into temporary directory"
local tmpdir="$(mktemp -d "tmp.$USER.$_name.XXXXXXXX" --tmpdir )" local tmpdir="$(mktemp -d "tmp.$USER.$_name.XXXXXXXX")"
trap "cleanup $tmpdir" EXIT trap "cleanup $tmpdir" EXIT
pushd "$tmpdir" > /dev/null 2>&1 pushd "$tmpdir" > /dev/null 2>&1
git clone \ git clone \