make.sh: Remove setting the EDITOR variable which we don't use

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2017-11-07 15:27:31 +01:00
parent 1445a5ac43
commit 4f1cce84fb

12
make.sh
View File

@@ -81,18 +81,6 @@ else
configure_build "default"
fi
if [ -z $EDITOR ]; then
for i in nano emacs vi; do
EDITOR=$(which $i 2>/dev/null)
if ! [ -z $EDITOR ]; then
export EDITOR=$EDITOR
break
fi
done
[ -z $EDITOR ] && exiterror "You should have installed an editor."
fi
prepareenv() {
############################################################################
# #