Commit 2168bc68 authored by Mario Trangoni's avatar Mario Trangoni

shellcheck: Fix SC2045 issue

See, $ find . -name "*.sh" | xargs shellcheck -i SC2045 In ./roll-tarballs.sh line 220: for f in $(ls README* 2>/dev/null); do ^-----------------------^ SC2045: Iterating over ls output is fragile. Use globs. For more information: https://www.shellcheck.net/wiki/SC2045 -- Iterating over ls output is fragi... Signed-off-by: 's avatarMario Trangoni <mjtrangoni@gmail.com>
parent 747a3374
......@@ -217,8 +217,9 @@ rm -Rf "debian/"
rm -Rf "nx-libs.spec"
# very old release did not add any README
for f in $(ls README* 2>/dev/null); do
mv -v "$f" "doc/";
for f in README*; do
[[ -e "$f" ]] || break # handle the case of no README* files
mv -v "$f" "doc/"
done
# remove files, that we do not want in the tarballs (build cruft)
......
Markdown is supported
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