Author: aurel32
Date: 2007-11-28 23:28:12 +0000 (Wed, 28 Nov 2007)
New Revision: 2717

Modified:
   glibc-package/trunk/debian/debhelper.in/locales-all.postinst
Log:
Use mktemp -t instead of using the full path


Modified: glibc-package/trunk/debian/debhelper.in/locales-all.postinst
===================================================================
--- glibc-package/trunk/debian/debhelper.in/locales-all.postinst        
2007-11-28 23:01:45 UTC (rev 2716)
+++ glibc-package/trunk/debian/debhelper.in/locales-all.postinst        
2007-11-28 23:28:12 UTC (rev 2717)
@@ -7,7 +7,7 @@
        #  Remove existing locales, otherwise localedef does not
        #  overwrite them and exits with a non-null value
        rm -f /usr/lib/locale/locale-archive 2>/dev/null || true
-       tmpdir=$(mktemp -d ${TMPDIR:-/tmp}/locales.XXXXXXXXXX)
+       tmpdir=$(mktemp -d -t locales.XXXXXXXXXX)
        trap 'rm -rf "$tmpdir" > /dev/null 2>&1' exit
        tar --use-compress-program /usr/bin/lzma -xf 
/usr/lib/locales-all/supported.tar.lzma -C "$tmpdir"
        localedef --quiet --add-to-archive "$tmpdir"/*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to