diff --git a/Documentation/Books/build.sh b/Documentation/Books/build.sh index 8e60ac3a90..ed6ee9aa30 100755 --- a/Documentation/Books/build.sh +++ b/Documentation/Books/build.sh @@ -617,6 +617,7 @@ function build-dist-books() mv books "ArangoDB-${newVersionNumber}" pwd if test -n "${COOKBOOK_DIR}" ; then + rm -rf "ArangoDB-${newVersionNumber}/cookbook" cp -a "${COOKBOOK_DIR}" "ArangoDB-${newVersionNumber}/cookbook" fi tar -czf "${OUTPUT_DIR}/ArangoDB-${newVersionNumber}.tar.gz" "ArangoDB-${newVersionNumber}"