aboutsummaryrefslogtreecommitdiff
path: root/resources/scripts/helpers/build/config
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-08-30 03:24:21 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-08-30 03:24:21 +0100
commit7cc3ecfbc6a3bb5403d065c0adaa4e4c0101b9b8 (patch)
tree26b699e931ac43c9ee32cbe04781012e58416776 /resources/scripts/helpers/build/config
parentb39f62fb1bb2b0a61fa727922142482296e66fa8 (diff)
downloadlibrebootfr-7cc3ecfbc6a3bb5403d065c0adaa4e4c0101b9b8.tar.gz
librebootfr-7cc3ecfbc6a3bb5403d065c0adaa4e4c0101b9b8.zip
bulid/config/*: don't use ls
Diffstat (limited to 'resources/scripts/helpers/build/config')
-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 b71ff3ee..890426ea 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 5df5f771..140372d9 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