diff options
author | mtaylor@qualinost.(none) <> | 2006-12-15 10:57:58 -0800 |
---|---|---|
committer | mtaylor@qualinost.(none) <> | 2006-12-15 10:57:58 -0800 |
commit | 3da37d3fa2d1f5db00afbff25006821e19e7e2cd (patch) | |
tree | 41ca09b3176604731139e369d12f0718250aed3a /scripts | |
parent | 54e7d71477b673db69538219ab5419d1fda33283 (diff) | |
download | mariadb-git-3da37d3fa2d1f5db00afbff25006821e19e7e2cd.tar.gz |
Added support for sensible-editor from Debian, instead of emacs.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/mysqlbug.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/mysqlbug.sh b/scripts/mysqlbug.sh index 6aed140b79d..880ab248a90 100644 --- a/scripts/mysqlbug.sh +++ b/scripts/mysqlbug.sh @@ -132,7 +132,13 @@ if test -z "$VISUAL" then if test -z "$EDITOR" then - EDIT=emacs + # Honor debian sensible-editor + if test -x "/usr/bin/sensible-editor" + then + EDIT=/usr/bin/sensible-editor + else + EDIT=emacs + fi else EDIT="$EDITOR" fi |