Skip to content

Commit

Permalink
beautified shell code
Browse files Browse the repository at this point in the history
checked with shellcheck http://www.shellcheck.net/about.html
  • Loading branch information
haraldh committed Jul 4, 2013
1 parent 32bd2fb commit b093aa2
Show file tree
Hide file tree
Showing 17 changed files with 290 additions and 264 deletions.
4 changes: 2 additions & 2 deletions dracut-catimages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ fi
images+=($@)

dinfo "Using base image $baseimage"
cat "$baseimage" > "$outfile"
cat -- "$baseimage" > "$outfile"

for i in "${images[@]}"; do
dinfo "Appending $i"
cat "$i" >> "$outfile"
cat -- "$i" >> "$outfile"
done

dinfo "Created $outfile"
Expand Down
Loading

0 comments on commit b093aa2

Please sign in to comment.