1
0
Fork 0

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:
Wilfried Goesgens 2017-08-25 11:01:31 +02:00 committed by GitHub
commit 896b32daf3
1 changed files with 1 additions and 0 deletions

View File

@ -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}"