Projects
Tools
libphutil
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 19
View file
update.sh
Changed
@@ -1,5 +1,24 @@ #!/bin/bash +function usage() { + echo "Usage: $0 [--with-fedora-review]" + exit 0 +} + +fedora_review=0 + +while [ $# -gt 0 ]; do + case $1 in + --with-fedora-review) + fedora_review=1 + shift + ;; + *) + usage + ;; + esac +done + if [ ! -d "libphutil.git" ]; then git clone -b stable https://github.com/phacility/libphutil.git libphutil.git pushd libphutil.git @@ -40,4 +59,5 @@ osc build --no-verify CentOS_7 libphutil.spec && \ rm -rf review-libphutil/ libphutil-*.src.rpm && \ cp /var/tmp/build-root/CentOS_7-x86_64/home/abuild/rpmbuild/SRPMS/libphutil-*.src.rpm . && \ + test ${fedora_review} -eq 1 && \ fedora-review --verbose -n libphutil
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.