Changeset 744 for rpmbuild-bot/rpmbuild-bot.sh
- Timestamp:
- Apr 15, 2016, 4:20:30 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rpmbuild-bot/rpmbuild-bot.sh
r739 r744 92 92 # pack Create the RPM packages (requires "prep", "build" and "install" 93 93 # to be executed before). Note that this step will also execute 94 # the %clean section so that a new " build" + "install" execution is94 # the %clean section so that a new "install" execution is 95 95 # necessary for "pack" to succeed. 96 96 # … … 383 383 # Show the generated RPMs when appropriate. 384 384 if [ "$command_arg" = "all" -o "$command_arg" = "pack" ] ; then 385 local rpms=`grep "^Wrote: \+.*\.\($base_arch\.rpm\|noarch\.rpm\)$" "$log_file" | sed -e "s#^Wrote: \+##g"` 385 # Find all RPM packages for the base arch (note the quotes around `` - it's to preserve multi-line result). 386 local rpms="`grep "^Wrote: \+.*\.\($base_arch\.rpm\|noarch\.rpm\)$" "$log_file" | sed -e "s#^Wrote: \+##g"`" 386 387 if [ -n "$rpms" ] ; then 387 388 echo "Successfully generated the following RPMs:" … … 474 475 [ -f "$log_file" ] || die "File '$test_log' is not found." 475 476 476 local rpms=`grep "^Wrote: \+.*\.\($base_arch\.rpm\|noarch\.rpm\)$" "$log_file" | sed -e "s#^Wrote: \+##g"` 477 # Find all RPM packages for the base arch (note the quotes around `` - it's to preserve multi-line result). 478 local rpms="`grep "^Wrote: \+.*\.\($base_arch\.rpm\|noarch\.rpm\)$" "$log_file" | sed -e "s#^Wrote: \+##g"`" 477 479 if [ -n "$rpms" ] ; then 478 480 for f in $rpms; do
Note:
See TracChangeset
for help on using the changeset viewer.