summaryrefslogtreecommitdiff
path: root/misc/dotfile/patches
diff options
context:
space:
mode:
authorrillig <rillig>2006-11-19 22:48:07 +0000
committerrillig <rillig>2006-11-19 22:48:07 +0000
commit5be5aefa504748902681f07bafe6852eacf52c8b (patch)
tree58a836e08b5900dff059da73177d52117cd55422 /misc/dotfile/patches
parentd72f62ac7b73d3738a68abeb0cce54705f835038 (diff)
downloadpkgsrc-5be5aefa504748902681f07bafe6852eacf52c8b.tar.gz
Fixed "test ==" and PKGMANDIR. CHECK_INTERPRETER and CHECK_PERMS still
complain.
Diffstat (limited to 'misc/dotfile/patches')
-rw-r--r--misc/dotfile/patches/patch-ac24
1 files changed, 24 insertions, 0 deletions
diff --git a/misc/dotfile/patches/patch-ac b/misc/dotfile/patches/patch-ac
new file mode 100644
index 00000000000..d779d8afea9
--- /dev/null
+++ b/misc/dotfile/patches/patch-ac
@@ -0,0 +1,24 @@
+$NetBSD: patch-ac,v 1.1 2006/11/19 22:48:08 rillig Exp $
+
+--- Generator/makeHelp.orig 2000-02-19 20:15:36.000000000 +0100
++++ Generator/makeHelp 2006-10-24 01:56:01.000000000 +0200
+@@ -1,14 +1,13 @@
+ #! /bin/sh
+-if [ "$2" == "" ]; then
++
++if [ $# -ne 2 -a $# -ne 3 ]; then
++ exec 1>&2
+ echo "syntax makeHelp <Generator Path> <module help file> [<language>]"
+ echo "The language defaults to english"
++ exit 1
+ fi
+
+-if [ "$3" == "" ]; then
+- language=english
+-else
+- language=$3
+-fi
++language=${3-english}
+
+ cp $1/help.$language.html helpfile.data
+ echo "\n\n<h1>---------------</h1>" >> helpfile.data