mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Add a missing bit to d1a9c8a
This commit is contained in:
10
compile.sh
10
compile.sh
@@ -48,6 +48,16 @@ if [[ $EUID != 0 ]]; then
|
|||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Script parameters handling
|
||||||
|
for i in "$@"; do
|
||||||
|
if [[ $i == *=* ]]; then
|
||||||
|
parameter=${i%%=*}
|
||||||
|
value=${i##*=}
|
||||||
|
display_alert "Command line: setting $parameter to" "${value:-(empty)}" "info"
|
||||||
|
eval $parameter=$value
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
if [[ ! -f $SRC/.ignore_changes ]]; then
|
if [[ ! -f $SRC/.ignore_changes ]]; then
|
||||||
echo -e "[\e[0;32m o.k. \x1B[0m] This script will try to update"
|
echo -e "[\e[0;32m o.k. \x1B[0m] This script will try to update"
|
||||||
git pull
|
git pull
|
||||||
|
|||||||
Reference in New Issue
Block a user