Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
kernel-source
> prepare-build.sh
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File prepare-build.sh of Package kernel-source (Revision 76)
Currently displaying revision
76
,
show latest
#!/bin/bash # vim: syntax=sh #set -x set -e test -f /.buildenv || exit 0 this_release=`rpm -q --qf %{RELEASE} kernel-dummy` echo this_release $this_release test -n "$this_release" || exit 1 shopt -s nullglob for i in /usr/src/packages/SOURCES/*.spec; do sed -i -e '/^BuildRequires:/s@kernel-dummy@@g' \ -e '/^BuildRequires:[ \t]*$/d' \ -e "/^Release:/s@^.*@Release: $this_release@" $i done