aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-01 14:35:36 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-10-01 14:35:36 +0200
commite48326b371c8576381ab1477e07b18c57fb82175 (patch)
tree163e591272f89aac331e12629df41669c16bbc70
parent18006e4e31e0751e77d92e5780533d2ed070592f (diff)
downloadmkinitcpio-ykfde-e48326b371c8576381ab1477e07b18c57fb82175.tar.gz
mkinitcpio-ykfde-e48326b371c8576381ab1477e07b18c57fb82175.tar.zst
create temporary directory, not file
-rw-r--r--bin/ykfde2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ykfde b/bin/ykfde
index d952e51..5f85387 100644
--- a/bin/ykfde
+++ b/bin/ykfde
@@ -13,7 +13,7 @@ function help() {
echo " -k keep challenge, just add a new slot"
}
-TMPDIR="$(mktemp --tmpdir=/tmp/ .$(basename ${0})-${$}-XXXXXX)"
+TMPDIR="$(mktemp --directory --tmpdir=/tmp/ .$(basename ${0})-${$}-XXXXXX)"
PASS=""
SLOT="2"
KEEP="0"