make.sh: Remove setting the EDITOR variable which we don't use
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Nov 2017 14:27:31 +0000 (15:27 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Nov 2017 14:27:31 +0000 (15:27 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
make.sh

diff --git a/make.sh b/make.sh
index d9f779a..175db51 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -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() {
     ############################################################################
     #                                                                          #