summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-07-26 19:13:49 +0200
committerPetr Mladek <pmladek@suse.cz>2011-08-23 20:26:11 +0200
commit9602fbb21b5f838188b9b3e3a963cf520b845d57 (patch)
tree45d9db9b4eefa62911c52fd5424d733d0e9c96e3 /bin
parent0240cbf5bad319f82afe8fda9fb9f897e5e33e3d (diff)
distro-install-desktop-integration: create temp files in $TMPDIR
do not hardcode /tmp Signed-off-by: scarabeus@gentoo.org
Diffstat (limited to 'bin')
-rwxr-xr-xbin/distro-install-desktop-integration2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/distro-install-desktop-integration b/bin/distro-install-desktop-integration
index 6bacb1b7c442..5e1b59702e25 100755
--- a/bin/distro-install-desktop-integration
+++ b/bin/distro-install-desktop-integration
@@ -78,7 +78,7 @@ add_wrapper()
}
# install desktop integration from plain packages
-sysui_temp=`mktemp -d /tmp/distro-pack-desktop-integration-XXXXXX`
+sysui_temp=`mktemp -t -d distro-pack-desktop-integration-XXXXXX`
cp -a sysui/unxlng*/misc/libreoffice/* "$sysui_temp"
cp -a sysui/desktop/share/create_tree.sh "$sysui_temp"
builddir=`pwd`