We don't need /lib/main.sh anymore
This commit is contained in:
parent
91412214e4
commit
76393cf85a
@ -297,5 +297,10 @@ while [[ "${1}" == *=* ]]; do
|
||||
|
||||
done
|
||||
|
||||
# shellcheck source=lib/main.sh
|
||||
source "${SRC}"/lib/main.sh
|
||||
prepare_and_config_main_build_single
|
||||
|
||||
if [[ -z $1 ]]; then
|
||||
do_default
|
||||
else
|
||||
eval "$@"
|
||||
fi
|
||||
|
||||
29
lib/main.sh
29
lib/main.sh
@ -1,29 +0,0 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2013-2021 Igor Pecovnik, igor.pecovnik@gma**.com
|
||||
#
|
||||
# This file is licensed under the terms of the GNU General Public
|
||||
# License version 2. This program is licensed "as is" without any
|
||||
# warranty of any kind, whether express or implied.
|
||||
#
|
||||
# This file is a part of the Armbian build script
|
||||
# https://github.com/armbian/build/
|
||||
|
||||
if [[ $(basename "$0") == main.sh ]]; then
|
||||
|
||||
echo "Please use compile.sh to start the build process"
|
||||
exit 255
|
||||
|
||||
fi
|
||||
|
||||
# Libraries include
|
||||
# shellcheck source=import-functions.sh
|
||||
source "${SRC}/lib/import-functions.sh"
|
||||
|
||||
prepare_and_config_main_build_single
|
||||
|
||||
if [[ -z $1 ]]; then
|
||||
do_default
|
||||
else
|
||||
eval "$@"
|
||||
fi
|
||||
Loading…
Reference in New Issue
Block a user