Skip to content

Commit

Permalink
#1113 fix permissions update
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromeleonard committed Sep 5, 2022
1 parent cfc9b82 commit 4a23b71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion utils/docker/build-customimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ build-image() {
# Update and save json file with dockerImage value
mkdir -p ${destinationpath}/${workername}
updatejsonfile ${jsonpath} ${destinationpath}/${workername}/$(basename ${jsonpath})
updatepermissions ${destinationpath}/${workername}/$(basename ${jsonpath}) $(stat -c '%u' ${destinationpath}) $(stat -c '%g' ${destinationpath})
updatepermissions ${destinationpath}) $(stat -c '%u' ${destinationpath}) $(stat -c '%g' ${destinationpath})
log success "\nDocker image for your ${neurontype} has been built successfully.
Image name: ${dockerimagename}
JSON file updated and saved in: ${destinationpath}/${workername}/$(basename ${jsonpath})"
Expand Down
7 changes: 4 additions & 3 deletions utils/test_doc/testdoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ mkdir ${TEST_PATH}
for I in analyzers responders assets images AUTHORS AUTHORS docs *.md ; do cp -rv $I ${TEST_PATH} ; done
cd ${TEST_PATH}
gh repo clone TheHive-Project/doc-builder
doc-builder/build/Cortex-Neurons/generate.py
#cp -rv ../../doc-builder .

doc-builder/build/Cortex-Neurons/generate.py

cp -v CHANGELOG.md docs/.
cp -v code_of_conduct.md docs/.
cp -rv README.md docs/


cp -rv SECURITY.md docs/
cp -rv AUTHORS docs/AUTHORS.md

mkdocs serve -a 0.0.0.0:8889

Expand Down

0 comments on commit 4a23b71

Please sign in to comment.