summaryrefslogtreecommitdiff
path: root/msdos
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-04-14 10:37:21 +0000
committerEli Zaretskii <eliz@gnu.org>2009-04-14 10:37:21 +0000
commit192d3ec9250bcdf0375095f6a97e5b481b485a7a (patch)
treeff84a905687109f7d522523f0098c37174b020be /msdos
parent0193a5820a2c88ab223367fd00a0e056e6ec92a5 (diff)
downloademacs-192d3ec9250bcdf0375095f6a97e5b481b485a7a.tar.gz
(src) <gdb.ini>: Don't replace the line with x_error_quitter; instead
append "set environment NAME" to the end. Set NAME and USERNAME in the environment to the same value.
Diffstat (limited to 'msdos')
-rw-r--r--msdos/mainmake.v24
1 files changed, 3 insertions, 1 deletions
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2
index c77c41a2ba5..2cad495a1de 100644
--- a/msdos/mainmake.v2
+++ b/msdos/mainmake.v2
@@ -104,9 +104,11 @@ src: FRC
$(MAKE) top_srcdir=${top_srcdir} BOOTSTRAPEMACS="${boot}"
djecho -s '/-geometry/s,^.*,set environment HOME $(top_srcdir),' \
'/environment *TERM/s/^.*/set environment TERM internal/' \
- '/x_error_quitter/s/^.*/set environment NAME root/' >gdb.sed
+ >gdb.sed
sed -f gdb.sed _gdbinit >gdb.tmp
djecho -a gdb.tmp -s 'set environment USER root' \
+ 'set environment NAME root' \
+ 'set environment USERNAME root' \
'set environment EMACSPATH $(top_srcdir)/bin' \
'set environment SHELL $(subst \,/,$(COMSPEC))' \
'set environment PATH $(subst \,/,$(PATH))'