mirror of https://gitee.com/bigwinds/arangodb
Merge pull request #3130 from arangodb/bugfix/fix_cookbook_copy_procedure
remove directory first, so we don't copy it into a sub directory
This commit is contained in:
commit
896b32daf3
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue