Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
gtk2-branding-SLED
pre_checkin.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pre_checkin.sh of Package gtk2-branding-SLED
#!/bin/sh NAME=gtk2 if ! test -f ${NAME}-branding.spec.in ; then exit fi for variant in openSUSE SLED ; do cp ${NAME}-branding.spec.in ${NAME}-branding-${variant}.spec if test "$variant" != "openSUSE"; then cp ${NAME}-branding-openSUSE.changes ${NAME}-branding-${variant}.changes fi sed -i "s/%{branding_name}/${variant}/g" ${NAME}-branding-${variant}.spec sed -i "s/\(%define *build_${variant} *\)0/\11/" ${NAME}-branding-${variant}.spec sed -i " /^Name: *${NAME}-branding-${variant}/i \ # Do not edit this auto generated file! Edit ${NAME}-branding.spec.in. " ${NAME}-branding-${variant}.spec done
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