Fix erroneous arguments to mktemp
This commit is contained in:
parent
1119995914
commit
2761fee87e
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user