[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[tex-common] 01/03: do not create temp files in / (Closes: #797381)



This is an automated email from the git hooks/post-receive script.

preining pushed a commit to branch master
in repository tex-common.

commit 51318204f10cc0c7f78b935a3473b62de58a71d8
Author: Norbert Preining <preining@debian.org>
Date:   Thu Sep 3 08:49:15 2015 +0900

    do not create temp files in / (Closes: #797381)
---
 debian/changelog                   | 6 ++++++
 scripts/update-tl-stacked-conffile | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 81034f4..bd2013b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+tex-common (6.03) UNRELEASED; urgency=medium
+
+  * do not create temp files in / (Closes: #797381)
+
+ -- Norbert Preining <preining@debian.org>  Thu, 03 Sep 2015 08:48:42 +0900
+
 tex-common (6.02) unstable; urgency=medium
 
   * add help2man to build-deps (Closes: #790101)
diff --git a/scripts/update-tl-stacked-conffile b/scripts/update-tl-stacked-conffile
index 87d0f7e..557ab2c 100755
--- a/scripts/update-tl-stacked-conffile
+++ b/scripts/update-tl-stacked-conffile
@@ -231,7 +231,9 @@ for tree in $COMPONENTS ; do
     fi
 
     # create output dir in any case ...
-    mkdir -p $(dirname $output_file)
+    destdir=$(dirname $output_file)
+    mkdir -p "$destdir"
+    cd "$destdir"
 
     #
     if [ $quiet = 0 ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-tex/tex-common.git


Reply to: