File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,14 +118,14 @@ echo ">> Creating tarball ${target_tarball} from ${topdir}..."
118118target_tarball_ext=" ${target_tarball##* .} "
119119if [ " ${target_tarball_ext} " = " zst" ]; then
120120 if [ -x " $( command -v zstd) " ]; then
121- tar -cf - -C ${topdir} --files-from=${files_list} | zstd -T0 > ${target_tarball}
121+ tar -cvf - -C ${topdir} --files-from=${files_list} | zstd -T0 > ${target_tarball}
122122 else
123123 echo " Zstd compression requested, but zstd command is not available." >&2
124124 exit 4
125125 fi
126126elif [ " ${target_tarball_ext} " = " gz" ]; then
127127 if [[ -x " $( command -v gzip) " ]]; then
128- tar -cfvz ${target_tarball} -C ${topdir} --files-from=${files_list}
128+ tar -czvf ${target_tarball} -C ${topdir} --files-from=${files_list}
129129 else
130130 echo " Gzip compression requested, but gzip command is not available." >&2
131131 exit 4
You can’t perform that action at this time.
0 commit comments