Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:hpcoder1
minsky-beta
editControls.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File editControls.sh of Package minsky-beta
#!/bin/bash file=`ls minskyjs*` stem=${file%%.tar.gz} version=${stem##minskyjs-} semver=${version%%-*} betaver=${version##*-} echo $version $semver $betaver osc add $file sed -i -e "s/%define semver .*/%define semver $semver/" minsky.spec sed -i -e "s/%define betaver .*/%define betaver $betaver/" minsky.spec sha=`sha1sum $file|cut -f1 -d' '` size=`ls -l $file|cut -f5 -d' '` sed -i -e "s/Version: .*/Version: $semver~$betaver/" minsky.dsc sed -i -e "s/.*minskyjs.*/ $sha $size $file/" minsky.dsc sed -i -e "s/Depends: minsky-beta-restservice[^,]*,/Depends: minsky-beta-restservice (=${semver}~${betaver}-1),/" debian.control
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