Skip to content

Commit

Permalink
Merge pull request #1519 from Letty5411/0613
Browse files Browse the repository at this point in the history
bugfix: fix shell script for building rpm package
  • Loading branch information
Wei Fu authored Jun 14, 2018
2 parents 5872d34 + 53df815 commit 6f72589
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

0 comments on commit 6f72589

Please sign in to comment.