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 13, 2018
1 parent 3f0c62f commit c264a74
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 -r "liblxcfs" . |awk -F':' '{print $1}'|uniq | 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

0 comments on commit c264a74

Please sign in to comment.