summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xresources/scripts/helpers/build/config/corebootmodify2
-rwxr-xr-xresources/scripts/helpers/build/config/corebootreplace2
2 files changed, 2 insertions, 2 deletions
diff --git a/resources/scripts/helpers/build/config/corebootmodify b/resources/scripts/helpers/build/config/corebootmodify
index b71ff3e..890426e 100755
--- a/resources/scripts/helpers/build/config/corebootmodify
+++ b/resources/scripts/helpers/build/config/corebootmodify
@@ -28,7 +28,7 @@ set -u -e
cd "resources/libreboot/config/grub/"
if [ $# -lt 1 ]; then
- configs="$(ls)"
+ configs="$(for config in *; do printf "%s\n" "${config}"; done)"
else
configs="$@"
fi
diff --git a/resources/scripts/helpers/build/config/corebootreplace b/resources/scripts/helpers/build/config/corebootreplace
index 5df5f77..140372d 100755
--- a/resources/scripts/helpers/build/config/corebootreplace
+++ b/resources/scripts/helpers/build/config/corebootreplace
@@ -28,7 +28,7 @@ set -u -e
cd "resources/libreboot/config/grub/"
if [ $# -lt 1 ]; then
- configs="$(ls)"
+ configs="$(for config in *; do printf "%s\n" "${config}"; done)"
else
configs="$@"
fi