]> git.pld-linux.org Git - packages/shtool.git/commitdiff
- obsolete
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 17 Jun 2005 22:35:16 +0000 (22:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    shtool-tempfile.patch -> 1.2

shtool-tempfile.patch [deleted file]

diff --git a/shtool-tempfile.patch b/shtool-tempfile.patch
deleted file mode 100644 (file)
index 26c9fca..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -urN shtool-2.0.1.orig/sh.common shtool-2.0.1/sh.common
---- shtool-2.0.1.orig/sh.common        2005-05-30 10:40:50.476241904 +0200
-+++ shtool-2.0.1/sh.common     2005-05-30 10:41:22.420385656 +0200
-@@ -168,7 +168,13 @@
-     else
-         tmpdir="/tmp"
-     fi
--    tmpfile="$tmpdir/.shtool.$$"
-+    if mkdir "$tmpdir/.shtool.$$"; then
-+        tmpfile="$tmpdir/.shtool.$$/shtool.tmp"
-+      else
-+        echo "$msgprefix:Error: failed to create temporary file" 1>&2
-+        exit 1
-+    fi
-+    tmpfile="$tmpdir/.shtool.$$/shtool.tmp"
-     rm -f $tmpfile >/dev/null 2>&1
-     touch $tmpfile
-     chmod 600 $tmpfile
-@@ -188,7 +194,7 @@
- shtool_exit () {
-     rc="$1"
-     if [ ".$gen_tmpfile" = .yes ]; then
--        rm -f $tmpfile >/dev/null 2>&1 || true
-+        rm -fr "$tmpdir/.shtool.$$" >/dev/null 2>&1 || true
-     fi
-     exit $rc
- }
This page took 0.251478 seconds and 4 git commands to generate.