Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Application:Geo
qgis-otb-plugin
update.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File update.sh of Package qgis-otb-plugin
#! /bin/bash NAME=qgis-otb-plugin git clone --depth 1 https://gitlab.orfeo-toolbox.org/orfeotoolbox/$NAME/ ${NAME} osc rm $NAME-*.tar.bz2 pushd ${NAME} VER=`cat otb/metadata.txt |grep version= |sed s/version=//` ARC=$NAME-$VER.tar.bz2 git archive master --prefix "$NAME-$VER/" | bzip2 >../$ARC popd echo "New version $VER" sed -i "s/\(Version: \+\).\+/\1$VER/" $NAME.spec rm -rf $NAME osc add $ARC
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