aboutsummaryrefslogtreecommitdiff
path: root/core/util-linux/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-03-29 14:42:35 +0300
committerCem Keylan <cem@ckyln.com>2020-03-29 14:42:35 +0300
commit46af99082c8a0a0e6d4986bc04d4772d652d4afa (patch)
tree59e19379103f6525018efb9ba4cf5f0a6c5fa34b /core/util-linux/build
parent13c111ab152fd3239acddcd38c65bb775daf7536 (diff)
downloadrepository-46af99082c8a0a0e6d4986bc04d4772d652d4afa.tar.gz
util-linux: get rid of sbin
Diffstat (limited to 'core/util-linux/build')
-rwxr-xr-xcore/util-linux/build6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/util-linux/build b/core/util-linux/build
index 13394c52..59c6c2b8 100755
--- a/core/util-linux/build
+++ b/core/util-linux/build
@@ -17,3 +17,9 @@
make
make DESTDIR="$1" install
+
+# For some reason util-linux installs
+# to the sbindir even when we tell it
+# not to.
+mv "$1/usr/sbin/"* "$1/usr/bin"
+rm -rf "$1/usr/sbin"