summaryrefslogtreecommitdiff
path: root/resources/scripts/update/u-boot/configs
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/update/u-boot/configs')
-rwxr-xr-xresources/scripts/update/u-boot/configs5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/scripts/update/u-boot/configs b/resources/scripts/update/u-boot/configs
index 36a4f332..b01ef0db 100755
--- a/resources/scripts/update/u-boot/configs
+++ b/resources/scripts/update/u-boot/configs
@@ -1,9 +1,10 @@
-#!/usr/bin/env bash
+#!/usr/bin/env sh
#
# helper script: update U-Boot configs (run make oldconfig)
#
# Copyright (C) 2022 Alper Nebi Yasak <alpernebiyasak@gmail.com>
+# Copyright (C) 2022 Ferass El Hafidi <vitali64pmemail@protonmail.com>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -32,7 +33,7 @@ updateconf() {
board="$1"
if [ -f "resources/u-boot/${board}/board.cfg" ]; then
ubtree="undefined"
- source "resources/u-boot/${board}/board.cfg"
+ . "resources/u-boot/${board}/board.cfg" # source
if [ "${ubtree}" = "undefined" ]; then
return 0
fi