diff options
author | Harald Hoyer <harald@redhat.com> | 2013-07-04 12:29:59 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-07-04 12:31:15 +0200 |
commit | b093aa2dc72b3424be0b6720ac5069b9b1574f81 (patch) | |
tree | 96089943337b7bcdbcf4d7bca1a31748022207db /dracut-catimages.sh | |
parent | 32bd2fbb4c8f1d3e1951d75f32c080d4b42c49a4 (diff) | |
download | dracut-b093aa2dc72b3424be0b6720ac5069b9b1574f81.tar.gz dracut-b093aa2dc72b3424be0b6720ac5069b9b1574f81.tar.bz2 dracut-b093aa2dc72b3424be0b6720ac5069b9b1574f81.zip |
beautified shell code
checked with shellcheck http://www.shellcheck.net/about.html
Diffstat (limited to 'dracut-catimages.sh')
-rwxr-xr-x | dracut-catimages.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dracut-catimages.sh b/dracut-catimages.sh index 7ede1f73..73dbea51 100755 --- a/dracut-catimages.sh +++ b/dracut-catimages.sh @@ -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" |