4 if [ $# -eq 3 -a "$2" = '-d' ]; then
7 elif [ $# -ne 1 ]; then
8 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
13 patch $pdir -f --no-backup-if-mismatch -p1 < $0
16 rm -f $dir/doc/bashref.info
17 rm -f $dir/examples/bashdb/bashdb.el
18 rm -f $dir/lib/readline/doc/Makefile
19 rm -f $dir/parser-built
20 rm -f $dir/pathnames.h
22 (cd $dir && aclocal -I . -I debugger)
24 for i in config.guess config.sub elisp-comp install-sh \
27 cp -p /usr/share/automake-1.7/$i $dir/debugger/
29 for i in mdate-sh texinfo.tex; do
30 cp -p /usr/share/automake-1.7/$i $dir/debugger/doc/
32 (cd $dir/debugger && aclocal -I ..)
33 cp -p $dir/debugger/elisp-comp $dir/debugger/emacs/.
34 (cd $dir/debugger && automake)
35 (cd $dir/debugger && autoconf)
38 patch $pdir -f --no-backup-if-mismatch -R -p1 < $0
41 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
46 # how to construct this file:
47 # - unpack the upstream bash source
48 # - unpack the bashdb source
49 # - apply bash the seven bash upstream patches
50 # - diff -ur --unidirectional-new-file \
51 --exclude CVS --exclude=.cvsignore --exclude=/db/ \
56 diff -ur --unidirectional-new-file --exclude CVS --exclude=.cvsignore bash-2.05b/ChangeLog cvs/ChangeLog