[Libreoffice-commits] .: bin/distro-install-desktop-integration

Petr Mladek pmladek at kemper.freedesktop.org
Tue Aug 23 11:26:27 PDT 2011


 bin/distro-install-desktop-integration |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9602fbb21b5f838188b9b3e3a963cf520b845d57
Author: Petr Mladek <pmladek at suse.cz>
Date:   Tue Jul 26 19:13:49 2011 +0200

    distro-install-desktop-integration: create temp files in $TMPDIR
    
    do not hardcode /tmp
    
    Signed-off-by: scarabeus at gentoo.org

diff --git a/bin/distro-install-desktop-integration b/bin/distro-install-desktop-integration
index 6bacb1b..5e1b597 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`


More information about the Libreoffice-commits mailing list