summaryrefslogtreecommitdiff
path: root/doc/guide
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2012-11-28 20:36:15 +0000
committerwiz <wiz@pkgsrc.org>2012-11-28 20:36:15 +0000
commit8d0fed6b3811d169c2529c9470dfcf1f38b90390 (patch)
tree2b8f0e44fab6bda029e269b1ad0709903300d014 /doc/guide
parent03c35a10961da218f34735a1cb103579373f6dc8 (diff)
downloadpkgsrc-8d0fed6b3811d169c2529c9470dfcf1f38b90390.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>