blob: 2e15dae89d3c37bc1e073a2d93fadfea027b87de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From 2083455a9e1de2980d229b5f98788b563498e2dc Mon Sep 17 00:00:00 2001
From: Drew DeVault <sir@cmpwn.com>
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 <sir@cmpwn.com>
---
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
|