From 415a837c3d7a79ccf61f32ab80f8577686d70778 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 1 Apr 2008 14:02:54 +0000 Subject: Add `hibernate', an swsusp/Tux-on-Ice convenience script. svn path=/nixpkgs/trunk/; revision=11438 --- pkgs/os-specific/linux/hibernate/gen-manpages.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pkgs/os-specific/linux/hibernate/gen-manpages.patch (limited to 'pkgs/os-specific/linux/hibernate/gen-manpages.patch') 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; -- cgit 1.4.1