Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:glaubitz:branches:devel:languages:python
python-pymisp
update-misp-objects.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update-misp-objects.sh of Package python-pymisp
#!/bin/bash version=$(awk '/^Version:/ {print $2}' python-pymisp.spec) echo "Detected version $version" revision=$(wget "https://github.com/MISP/PyMISP/tree/v$version/pymisp/data" -O - | awk '/\/MISP\/misp-objects\/tree\//' | grep -Eo 'misp-objects/tree/[[:alnum:]]{40}' | egrep -Eo "[[:alnum:]]{40}") echo "Detected revision $revision" sed -i "s/^\%define misp_objects_revision.*$/%define misp_objects_revision $revision/" python-pymisp.spec rm misp-objects.tar.gz osc service runall download_files
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor