Commit 5ca08252 authored by Paul Wise's avatar Paul Wise Committed by intrigeri
Browse files

Iterate over globs instead of ls output

Suggested-by: ShellCheck
Documentation: https://www.shellcheck.net/wiki/SC2045
parent 59ab3418
......@@ -16,9 +16,11 @@ output_apt_binary_source() {
}
output_overlay_apt_binary_sources() {
for suite in $(ls config/APT_overlays.d) ; do
cd config/APT_overlays.d/
for suite in * ; do
output_apt_binary_source "$suite"
done
cd ../../
}
### Sanity checks
......
......@@ -18,7 +18,7 @@ ensure_hook_dependency_is_installed dkms
ensure_hook_dependency_is_installed \
virtualbox-guest-dkms
for log in $(ls /var/lib/dkms/*/*/build/make.log); do
for log in /var/lib/dkms/*/*/build/make.log; do
echo "---- $log"
cat "$log"
done
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment