Skip to content

Commit

Permalink
Fix spec file path
Browse files Browse the repository at this point in the history
Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
  • Loading branch information
chmouel authored and tekton-robot committed Sep 26, 2019
1 parent 1eb7535 commit f4cf733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tekton/rpmbuild/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ version=${version/v}

sed "s/_VERSION_/${version}/" ${repospecfile} > ${TMPD}/tekton.spec

sed -i '/bundled(golang/d' tekton.spec
sed -i '/bundled(golang/d' ${TMPD}/tekton.spec

mapfile -t bundle < <(python -c "ver = None;
def version(line): global ver; ver = line.split()[2]; return '';
Expand All @@ -24,7 +24,7 @@ print '\n'.join(filter(None,[line for line in ['Provides: bundled(golang({})) =

for i in "${bundle[@]}"
do
sed -i "/vendored\slibraries/a $i" tekton.spec
sed -i "/vendored\slibraries/a $i" ${TMPD}/tekton.spec
done

cd ${TMPD}
Expand Down

0 comments on commit f4cf733

Please sign in to comment.