summaryrefslogtreecommitdiff
path: root/msdos/mainmake.v2
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2009-04-14 10:37:59 +0000
committerEli Zaretskii <eliz@gnu.org>2009-04-14 10:37:59 +0000
commitdfec862219fd14d3fea981aceff71fc4e1c7be5a (patch)
tree87f446a972bd7540143da61b3a29f9991d23aef8 /msdos/mainmake.v2
parentd78df080593a3fb611e4d7f6e534e6775cec1569 (diff)
downloademacs-dfec862219fd14d3fea981aceff71fc4e1c7be5a.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/mainmake.v2')
-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))'