Skip to content

Commit

Permalink
Changed the order of options in tar command.
Browse files Browse the repository at this point in the history
Changed the order of options in tar command because the option "z"
must not be the last option.
  • Loading branch information
jhelmold committed Feb 17, 2023
1 parent 3472d16 commit 100ec9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gvm-lsc-deb-creator
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ COPYRIGHT_FILE="${DOC_DATA_DIR}/copyright"

# Create data archive
cd "${DATA_DIR}"
tar -C "${DATA_DIR}" -acfz "../data.tar.gz" "${HOME_SUBDIR}" "${DOC_SUBDIR}"
tar -C "${DATA_DIR}" -z -cf "../data.tar.gz" "${HOME_SUBDIR}" "${DOC_SUBDIR}"


#
Expand Down

0 comments on commit 100ec9a

Please sign in to comment.