summary refs log blame commit diff
path: root/pkgs/os-specific/linux/hibernate/gen-manpages.patch
blob: cdbacc86bafaba4a095e2cb9581f884d76e2e5aa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                                                 
--- hibernate-script-1.98.1/gen-manpages.sh	2008-03-31 09:40:29.000000000 +0200
+++ hibernate-script-1.98.1/gen-manpages.sh	2008-04-01 15:58:11.000000000 +0200
@@ -254,7 +254,7 @@ BEGIN {
 }
 
 # Create a copy of hibernate.sh with only the help items
-TMPF=`mktemp /tmp/tmp.hibernate.XXXXXX`
+TMPF=`mktemp "$TMPDIR/tmp.hibernate.XXXXXX"`
 awk '{
     if ((substr($0, 1, 1) != "#") && (match($0, "AddConfigHelp") || match($0, "AddOptionHelp")) && (match($0, "\\(\\)") == 0)) {
         print $0;