Merge pull request #151 from nitkon/patch-5

obs-packaging: scripts: make osc checkout verbose
This commit is contained in:
Jose Carlos Venegas Munoz 2018-08-27 12:14:13 -05:00 committed by GitHub
commit e22b1b625f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,7 +312,7 @@ function get_obs_pkg_release() {
pkg=$(basename "${obs_pkg_name}")
repo_dir=$(mktemp -d -u -t "${pkg}.XXXXXXXXXXX")
out=$(osc -q co "${obs_pkg_name}" -o "${repo_dir}") || die "failed to checkout:$out"
out=$(osc -v co "${obs_pkg_name}" -o "${repo_dir}") || die "failed to checkout:$out"
spec_file=$(find "${repo_dir}" -maxdepth 1 -type f -name '*.spec' | head -1)
# Find in specfile in Release: XX field.