diff --git a/make-tarballs.sh b/make-tarballs.sh index 9ede6c1..b206a27 100755 --- a/make-tarballs.sh +++ b/make-tarballs.sh @@ -268,11 +268,8 @@ need_ok "couldn't delete old xz tarball" # Make a tarball cd "$CFG_WORK_DIR" -# Sort files by their suffix, to group files with the same name from -# different locations (likely identical) and files with the same -# extension (likely containing similar data). -find "$CFG_INPUT" \( -type d -empty \) -or \( -not -type d \) \ - | rev | sort | rev | tar -cf "$CFG_OUTPUT.tar" -T - +tar -cf "$CFG_OUTPUT.tar" "$CFG_INPUT" + need_ok "failed to tar" if command -v xz >/dev/null 2>&1