summaryrefslogtreecommitdiff
path: root/functions/bootloaders.sh
diff options
context:
space:
mode:
Diffstat (limited to 'functions/bootloaders.sh')
-rwxr-xr-xfunctions/bootloaders.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/functions/bootloaders.sh b/functions/bootloaders.sh
index 36e132fb5..14e50ac4c 100755
--- a/functions/bootloaders.sh
+++ b/functions/bootloaders.sh
@@ -10,8 +10,9 @@
Is_Requested_Bootloader ()
{
- OLDIFS="$IFS"
- IFS=","
+ local OLDIFS="$IFS"
+ local IFS=","
+ local BOOTLOADER
for BOOTLOADER in ${LB_BOOTLOADERS}; do
if [ "${BOOTLOADER}" = "${1}" ]; then
IFS="$OLDIFS"