We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c203826 commit 35558d9Copy full SHA for 35558d9
rsync-antora-reference/src/zip_docs.sh
@@ -54,7 +54,7 @@ __zip_docs() {
54
# The path exists
55
cd "$ssh_docs_path"
56
echo "Zipping content in '$ssh_docs_path' to '$zip_name'"
57
- zip -r "$zip_name" . *
+ zip -r "$zip_name" -b /tmp . *
58
cd -
59
else
60
# The path does not exist so fail
rsync-antora-reference/test/test-zip_docs.bats
@@ -77,7 +77,7 @@ usage: zip_docs.sh [OPTION]...
77
assert_success
78
assert_output "Zipping content in '$dir' to 'spring-security-docs.zip'
79
$(pwd)"
80
- assert_program_args "zip" "-r spring-security-docs.zip . *"
+ assert_program_args "zip" "-r spring-security-docs.zip -d /tmp . *"
81
82
unstub zip
83
}
0 commit comments