Skip to content

Commit 2e6417f

Browse files
authored
Merge pull request #61 from TimNN/tar-sort-default
Remove intelligent tar sort logic
2 parents e1425c1 + ad918bb commit 2e6417f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

make-tarballs.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,11 +268,8 @@ need_ok "couldn't delete old xz tarball"
268268
# Make a tarball
269269
cd "$CFG_WORK_DIR"
270270

271-
# Sort files by their suffix, to group files with the same name from
272-
# different locations (likely identical) and files with the same
273-
# extension (likely containing similar data).
274-
find "$CFG_INPUT" \( -type d -empty \) -or \( -not -type d \) \
275-
| rev | sort | rev | tar -cf "$CFG_OUTPUT.tar" -T -
271+
tar -cf "$CFG_OUTPUT.tar" "$CFG_INPUT"
272+
276273
need_ok "failed to tar"
277274

278275
if command -v xz >/dev/null 2>&1

0 commit comments

Comments
 (0)