summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorwiz <wiz>2012-11-28 20:36:15 +0000
committerwiz <wiz>2012-11-28 20:36:15 +0000
commit8e30d8c9c56f2ce9927357d045bae4984fe7ab54 (patch)
tree2b8f0e44fab6bda029e269b1ad0709903300d014 /doc/guide
parent18a169caaea042e90e4b900904d97048d956f2d7 (diff)
downloadpkgsrc-8e30d8c9c56f2ce9927357d045bae4984fe7ab54.tar.gz
Document REPLACE_*SH. Requested by Tim Larson.
Diffstat (limited to 'doc/guide')
-rw-r--r--doc/guide/files/fixes.xml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/guide/files/fixes.xml b/doc/guide/files/fixes.xml
index 4569fe30a85..bb25d999404 100644
--- a/doc/guide/files/fixes.xml
+++ b/doc/guide/files/fixes.xml
@@ -1,4 +1,4 @@
-<!-- $NetBSD: fixes.xml,v 1.110 2012/09/30 09:16:56 asau Exp $ -->
+<!-- $NetBSD: fixes.xml,v 1.111 2012/11/28 20:36:15 wiz Exp $ -->
<chapter id="fixes"> <?dbhtml filename="fixes.html"?>
<title>Making your package work</title>
@@ -1062,6 +1062,18 @@ pre-configure:
about handling perl modules.</para>
</sect2>
+ <sect2 id="shell-scripts">
+ <title>Packages containing shell scripts</title>
+
+ <para><varname>REPLACE_SH</varname>,
+ <varname>REPLACE_BASH</varname>, <varname>REPLACE_CSH</varname>,
+ and <varname>REPLACE_KSH</varname> can be used to replace shell
+ hash bangs in files. Please use the appropriate one, prefering
+ <varname>REPLACE_SH</varname> in case this shell is sufficient.
+ When using <varname>REPLACE_BASH</varname>, don't forget to add
+ <filename>bash</filename> to <varname>USE_TOOLS</varname>.</para>
+ </sect2>
+
<sect2 id="other-programming-languages">
<title>Other programming languages</title>