summary refs log tree commit diff
path: root/pkgs/os-specific/linux/hibernate/gen-manpages.patch
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-04-01 14:02:54 +0000
committerLudovic Courtès <ludo@gnu.org>2008-04-01 14:02:54 +0000
commit415a837c3d7a79ccf61f32ab80f8577686d70778 (patch)
tree05b5fc19600f0d449d2ad569e6bc577f522505f0 /pkgs/os-specific/linux/hibernate/gen-manpages.patch
parentaa720c84313cada98e63138b03e24c3edbe5b117 (diff)
downloadnixpkgs-415a837c3d7a79ccf61f32ab80f8577686d70778.tar
nixpkgs-415a837c3d7a79ccf61f32ab80f8577686d70778.tar.gz
nixpkgs-415a837c3d7a79ccf61f32ab80f8577686d70778.tar.bz2
nixpkgs-415a837c3d7a79ccf61f32ab80f8577686d70778.tar.lz
nixpkgs-415a837c3d7a79ccf61f32ab80f8577686d70778.tar.xz
nixpkgs-415a837c3d7a79ccf61f32ab80f8577686d70778.tar.zst
nixpkgs-415a837c3d7a79ccf61f32ab80f8577686d70778.zip
Add `hibernate', an swsusp/Tux-on-Ice convenience script.
svn path=/nixpkgs/trunk/; revision=11438
Diffstat (limited to 'pkgs/os-specific/linux/hibernate/gen-manpages.patch')
-rw-r--r--pkgs/os-specific/linux/hibernate/gen-manpages.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/hibernate/gen-manpages.patch b/pkgs/os-specific/linux/hibernate/gen-manpages.patch
new file mode 100644
index 00000000000..cdbacc86baf
--- /dev/null
+++ b/pkgs/os-specific/linux/hibernate/gen-manpages.patch
@@ -0,0 +1,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;