diff --git a/cpio.sh b/cpio.sh index 2816e34851..432903813b 100644 --- a/cpio.sh +++ b/cpio.sh @@ -44,6 +44,7 @@ o) p) test -z "$null" || die "cpio: cannot use -0 in pass-through mode" filterdirs | + tr -d '\r' | tar --create --file=- --files-from=- | tar --extract --directory="$dir" --file=- ;;