Skip to content

Commit

Permalink
bugfix: fix rpm package bug
Browse files Browse the repository at this point in the history
Signed-off-by: letty <[email protected]>
  • Loading branch information
Letty5411 committed Jun 14, 2018
1 parent 3f0c62f commit 53df815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/package/rpm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -l -r "liblxcfs" . | xargs sed -i 's/liblxcfs/libpouchlxcfs/g'
./bootstrap.sh > /dev/null 2>&1
./configure > /dev/null 2>&1
make install DESTDIR="$LXC_DIR" > /dev/null 2>&1
Expand Down

1 comment on commit 53df815

@fuweid
Copy link
Contributor

@fuweid fuweid commented on 53df815 Jun 14, 2018

Choose a reason for hiding this comment

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

LGTM

Please sign in to comment.