projects
/
grml-live.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7de47d4
)
Support $VISUAL and fall back to 'vi' is EDITOR is empty
author
Frank Terbeck
<ft@bewatermyfriend.org>
Fri, 17 Apr 2009 18:01:03 +0000
(20:01 +0200)
committer
Michael Prokop
<mika@grml.org>
Wed, 20 May 2009 21:25:13 +0000
(23:25 +0200)
remaster/grml-live-remaster
patch
|
blob
|
history
diff --git
a/remaster/grml-live-remaster
b/remaster/grml-live-remaster
index
ba5f749
..
9d62cf7
100755
(executable)
--- a/
remaster/grml-live-remaster
+++ b/
remaster/grml-live-remaster
@@
-12,6
+12,7
@@
set -e # exit on any error
VERSION='0.0.2'
+GRML_LIVE_EDITOR=${VISUAL:-${EDITOR:-vi}}
# source core functions {{{
. /etc/grml/lsb-functions
@@
-68,7
+69,7
@@
for i in dev proc root sys tmp; do
umount /remaster/chroot/$i
done
-$
EDITOR
/remaster/msg
+$
{GRML_LIVE_EDITOR}
/remaster/msg
[ -d /remaster/iso ] || mkdir /remaster/iso