fix: remove unnecessary cat
This commit is contained in:
1 parent
eef9f5eba5
commit
5affe42699
1 file changed
+1
-1
@@ -405,7 +405,7 @@ copy_from_image() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# workaround for CHECKS file when owner is root. seems to only happen when running inside docker
|
# workaround for CHECKS file when owner is root. seems to only happen when running inside docker
|
||||||
cat "$TMP_FILE_COMMAND_OUTPUT" | dos2unix -l >"$DST_FILE"
|
dos2unix -l <"$TMP_FILE_COMMAND_OUTPUT" >"$DST_FILE"
|
||||||
|
|
||||||
# add trailing newline for certain places where file parsing depends on it
|
# add trailing newline for certain places where file parsing depends on it
|
||||||
if [[ "$(tail -c1 "$DST_FILE")" != "" ]]; then
|
if [[ "$(tail -c1 "$DST_FILE")" != "" ]]; then
|
||||||
|
|||||||
Reference in new issue
Block a user