aboutsummaryrefslogtreecommitdiff
path: root/extra/lvm2/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-01-29 20:56:41 +0300
committerCem Keylan <cem@ckyln.com>2020-01-29 20:56:41 +0300
commite6a7080ecc1c03569cf838cd5f0531709a051689 (patch)
tree3a57ba0d316f826e5492e86f21cf2cd7c28e4b13 /extra/lvm2/build
parentc4c3af9515953df86ab70b4b85ce2fdb3ccaca11 (diff)
downloadrepository-e6a7080ecc1c03569cf838cd5f0531709a051689.tar.gz
revert
Diffstat (limited to 'extra/lvm2/build')
-rwxr-xr-xextra/lvm2/build7
1 files changed, 2 insertions, 5 deletions
diff --git a/extra/lvm2/build b/extra/lvm2/build
index c10f9cd0..ffa71785 100755
--- a/extra/lvm2/build
+++ b/extra/lvm2/build
@@ -7,11 +7,8 @@ patch -p1 < disable-symver.patch
# Busybox doesn't provide this command, however
# all it does is split words one per line and
# 'tr' can be used in its place.
-for file in make.tmpl.in libdm/make.tmpl.in ; do
- sed 's/fmt -1/tr " " "\\n"/' $file > $file.bak
- mv $file.bak $file
-done
-
+sed -i 's/fmt -1/tr " " "\\n"/' \
+ make.tmpl.in libdm/make.tmpl.in
# The build fails when using busybox's 'mkdir'(?),
# swap to using 'install -d' instead which works.