Skip to content

Commit

Permalink
Allow creating empty data.tar.gz
Browse files Browse the repository at this point in the history
Also doesn't use wildcard, so it picks up more files
  • Loading branch information
Cloudef committed Aug 17, 2017
1 parent b91fa72 commit de5500e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/makepnd.in
Original file line number Diff line number Diff line change
Expand Up @@ -2162,7 +2162,7 @@ create_package() {
rm PND.squashfs
elif [[ "$PKGEXT" == *ipk ]]; then
msg2 "$(gettext "Compressing package...")"
bsdtar -czf data.tar.gz "${comp_files[@]}" *
find . -not -name . -not -name data.tar.gz -printf "%P\0" | bsdtar -czf data.tar.gz --null --no-recursion -T -

mkdir CONTROL
(cd_safe CONTROL
Expand Down

0 comments on commit de5500e

Please sign in to comment.