Skip to content

Commit

Permalink
Fix rockcraft.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 committed Dec 19, 2024
1 parent ecbc738 commit 8e15609
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion connectors/mitre/rock/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ parts:
mkdir -p $CRAFT_PART_INSTALL/opt
cd external-import/mitre
cp -rp src $CRAFT_PART_INSTALL/opt/opencti-connector-mitre
echo 'cd /opt/opencti-connector-mitre; python3 connector.py' > entrypoint.sh
cat entrypoint.sh | grep opencti-connector-mitre
mkdir -p $CRAFT_PART_INSTALL/usr/local/lib/python3.12/dist-packages
pip install \
Expand Down
1 change: 1 addition & 0 deletions scripts/gen_connector_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ def _gen_env(self) -> dict[str, str]:
},
**DEFAULT_CONFIG,
},
generate_entrypoint="echo 'cd /opt/opencti-connector-mitre; python3 connector.py' > entrypoint.sh",
)
if connector == "import-document" or connector == "all":
render_template(
Expand Down

0 comments on commit 8e15609

Please sign in to comment.