From 2083455a9e1de2980d229b5f98788b563498e2dc Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 15 Jan 2018 13:49:09 -0500 Subject: [PATCH] Use more portable call to mktemp --tmpdir is not supported by BusyBox. Signed-off-by: Drew DeVault --- data/dconf/make-dconf-override-db.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/dconf/make-dconf-override-db.sh b/data/dconf/make-dconf-override-db.sh index 9c650e97..38838d09 100755 --- a/data/dconf/make-dconf-override-db.sh +++ b/data/dconf/make-dconf-override-db.sh @@ -6,7 +6,7 @@ set -e # breaks dbus-launch. There's dbus-run-session which is # better, but not everyone has it yet. export DBUS_FATAL_WARNINGS=0 -export TMPDIR=$(mktemp -d --tmpdir="$PWD") +export TMPDIR=$(TMPDIR="$PWD" mktemp -d) export XDG_CONFIG_HOME="$TMPDIR/config" export XDG_CACHE_HOME="$TMPDIR/cache" export GSETTINGS_SCHEMA_DIR="$TMPDIR/schemas" -- 2.15.0