3 if [ $# -eq 3 -a "$2" = '-d' ]; then
5 elif [ $# -ne 1 ]; then
6 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
10 -patch) patch $pdir -f --no-backup-if-mismatch -p1 < $0;;
11 -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
13 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
18 # DP: Modified readline examples to properly build with Debian setup.
20 --- ./lib/readline/examples/rl.c~ Mon Nov 8 22:22:03 1999
21 +++ ./lib/readline/examples/rl.c Fri Dec 31 17:34:30 1999
25 #include <sys/types.h>
26 -#include "posixstat.h"
27 +#include <sys/stat.h>
29 #if defined (READLINE_LIBRARY)
30 # include "readline.h"