Added EDITOR default to _blackbox_common.sh

This commit is contained in:
Bryan Roberts
2015-02-15 02:35:03 -05:00
parent a95a5ef629
commit 9b5af9f85c

View File

@@ -12,6 +12,11 @@
# Where in the VCS repo should the blackbox data be found? # Where in the VCS repo should the blackbox data be found?
: ${BLACKBOXDATA:=keyrings/live} ; # If BLACKBOXDATA not set, set it. : ${BLACKBOXDATA:=keyrings/live} ; # If BLACKBOXDATA not set, set it.
# If $EDITOR is not set, set it to "vi":
: ${EDITOR:-vi} ;
# Outputs a string that is the base directory of this VCS repo. # Outputs a string that is the base directory of this VCS repo.
# By side-effect, sets the variable VCS_TYPE to either 'git', 'hg', # By side-effect, sets the variable VCS_TYPE to either 'git', 'hg',
# 'svn' or 'unknown'. # 'svn' or 'unknown'.