diff options
author | unknown <mtaylor@qualinost.(none)> | 2006-12-15 10:57:58 -0800 |
---|---|---|
committer | unknown <mtaylor@qualinost.(none)> | 2006-12-15 10:57:58 -0800 |
commit | c8046801348bb981b2eeeb61910e1ea6ee526b56 (patch) | |
tree | 41ca09b3176604731139e369d12f0718250aed3a /scripts/mysqlbug.sh | |
parent | b6eaf8cb2c4471f3d492f75ad75d50042a3ca32b (diff) | |
download | mariadb-git-c8046801348bb981b2eeeb61910e1ea6ee526b56.tar.gz |
Added support for sensible-editor from Debian, instead of emacs.
Diffstat (limited to 'scripts/mysqlbug.sh')
-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 |