migration from private to rsa
[external/bash.git] / debian / patches / deb-examples.dpatch
1 #! /bin/sh -e
2
3 if [ $# -eq 3 -a "$2" = '-d' ]; then
4     pdir="-d $3"
5 elif [ $# -ne 1 ]; then
6     echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
7     exit 1
8 fi
9 case "$1" in
10     -patch) patch $pdir -f --no-backup-if-mismatch -p1 < $0;;
11     -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
12     *)
13         echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
14         exit 1
15 esac
16 exit 0
17
18 # DP: document readline header location on Debian systems
19
20 --- bash/examples/loadables/README~     2006-12-04 10:21:13.000000000 +0000
21 +++ bash/examples/loadables/README      2006-12-04 10:23:05.000000000 +0000
22 @@ -32,6 +32,9 @@
23  guide'.  The file template.c provides a template to use for creating
24  new loadable builtins.
25  
26 +On Debian GNU/Linux systems, the bash headers are in /usr/include/bash.
27 +The appropriate options are already set in the example Makefile.
28 +
29  basename.c     Return non-directory portion of pathname.
30  cat.c          cat(1) replacement with no options - the way cat was intended.
31  cut.c          cut(1) replacement.