Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Publishing:TeXLive
Meta
do.pkgbuild
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File do.pkgbuild of Package Meta
#!/bin/bash trapped () { rm -vf texlive-specs-[a-z].spec rm -vf texlive-specs-[a-z]-rpmlintrc popd } typeset -a bopt=() typeset -i n=0 tmp=$(command getopt -l prefer-pkgs:,noinit,no-init,clean -- p: "$@") || exit 1 eval set -- "$tmp" for opt do case "$opt" in -p|--prefer-pkgs) bopt[n++]="$1=$2" shift 2 ;; --noinit|--no-init|--clean) bopt[n++]="$1" shift 1 ;; --) shift break ;; esac done pushd packages/ || exit 1; trap 'trapped' EXIT INT test -d ../targets/ || { echo "No targets neighbour directory" 1>&2; exit 1; } if ((${#1} == 0)) ; then set -- {a..z} else [[ $1 =~ [a-z] ]] || { echo "No letter within a-z given" 1>&2; exit 1; } fi for letter do spec=texlive-specs-$letter.spec lint=texlive-specs-$letter-rpmlintrc ln -sf ../targets/texlive-specs-$letter/$spec . || exit 1 ln -sf ../targets/texlive-specs-$letter/$lint . || exit 1 osc build --download-api-only --root /abuild/oscbuild/openSUSE_Factory.tl.packages "${bopt[@]}" --noservice $spec --local-package --trust-all-projects --noverify || break cp -p /abuild/oscbuild/openSUSE_Factory.tl.packages/.build.log /abuild/oscbuild/openSUSE_Factory.tl.packages/tmp/$letter.build.log 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