Skip to content

Commit 5b909b4

Browse files
fix du warnings -x
1 parent b6268d2 commit 5b909b4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

plugins/gz-packer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ tar \
1515
--exclude-caches-all \
1616
-cpf \
1717
- "${target_source}" -P \
18-
| pv -s $(($(du -sk "${target_source}" | awk '{print $1}') * 1024)) |\
18+
| pv -s $(($(du -skx "${target_source}" | awk '{print $1}') * 1024)) |\
1919
gzip --best > "${target}".tar.gz

plugins/j-packer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ tar \
1414
--exclude-caches-all \
1515
-cpf \
1616
- "${target_source}" -P \
17-
| pv -s $(($(du -sk "${target_source}" | awk '{print $1}') * 1024)) |\
17+
| pv -s $(($(du -skx "${target_source}" | awk '{print $1}') * 1024)) |\
1818
bzip2 --best > "${target}".tar.xz

plugins/lz-packer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ tar \
1515
--exclude-caches-all \
1616
-cpf \
1717
- "${target_source}" -P \
18-
| pv -s $(($(du -sk "${target_source}" | awk '{print $1}') * 1024)) |\
18+
| pv -s $(($(du -skx "${target_source}" | awk '{print $1}') * 1024)) |\
1919
lz4 -9 > "${target}".tar.gz # use high compression

0 commit comments

Comments
 (0)