Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: fix rpm package bug #1519

Merged
merged 1 commit into from
Jun 14, 2018
Merged

Conversation

Letty5411
Copy link
Contributor

Signed-off-by: letty [email protected]

Ⅰ. Describe what this PR did

fix shell error

Ⅱ. Does this pull request fix one issue?

fix #1509

Ⅲ. Describe how you did it

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@pouchrobot pouchrobot added kind/bug This is bug report for project size/XS labels Jun 13, 2018
@Letty5411 Letty5411 requested a review from fuweid June 13, 2018 09:43
@@ -41,7 +41,7 @@ function build_lxcfs ()
git clone -b "$LXC_BRANCH" https://github.com/lxc/lxcfs.git && cd lxcfs

# change liblxcfs.so to libpouchlxcfs.so
sed -i 's/liblxcfs/libpouchlxcfs/g' "$(grep -r "liblxcfs" . |awk -F':' '{print $1}'|uniq )"
grep -r "liblxcfs" . |awk -F':' '{print $1}'|uniq | xargs sed -i 's/liblxcfs/libpouchlxcfs/g'
Copy link
Contributor

@fuweid fuweid Jun 13, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use grep -l -r "liblxcfs" . | xargs sed -i 's/liblxcfs/libpouchlxcfs/g'. 😄 WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GOOD!

@codecov-io
Copy link

Codecov Report

Merging #1519 into master will increase coverage by 23.94%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           master    #1519       +/-   ##
===========================================
+ Coverage   16.88%   40.82%   +23.94%     
===========================================
  Files         211      254       +43     
  Lines       14020    16605     +2585     
===========================================
+ Hits         2367     6779     +4412     
+ Misses      11490     8958     -2532     
- Partials      163      868      +705
Impacted Files Coverage Δ
storage/volume/driver/remote.go 68.96% <0%> (ø)
daemon/logger/logmessage.go 100% <0%> (ø)
cri/stream/request_cache.go 0% <0%> (ø)
apis/metrics/metrics.go 100% <0%> (ø)
storage/volume/driver/context.go 8.69% <0%> (ø)
cri/stream/remotecommand/attach.go 0% <0%> (ø)
storage/quota/grpquota.go 0% <0%> (ø)
cri/v1alpha2/service/cri.go 0% <0%> (ø)
cri/stream/remotecommand/errors.go 0% <0%> (ø)
storage/volume/core_util.go 10.34% <0%> (ø)
... and 113 more

@fuweid
Copy link
Contributor

fuweid commented Jun 14, 2018

Since the change doesn’t impact the case, I will merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug This is bug report for project size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] rpm/build.sh failed due to sed usage
4 participants