aboutsummaryrefslogtreecommitdiff
path: root/extra/ntfs-3g
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ntfs-3g')
-rwxr-xr-xextra/ntfs-3g/build8
1 files changed, 3 insertions, 5 deletions
diff --git a/extra/ntfs-3g/build b/extra/ntfs-3g/build
index 77a53d3b..8088f998 100755
--- a/extra/ntfs-3g/build
+++ b/extra/ntfs-3g/build
@@ -7,9 +7,7 @@
make
make DESTDIR="$1" install
-install -Dm755 "$1/bin/"* -t "$1/usr/bin"
-install -Dm755 "$1/sbin/"* -t "$1/usr/bin"
+mkdir -p "$1/usr/bin"
-# KISS will always assign a $1 value
-# shellcheck disable=2115
-rm -r "$1/bin" "$1/sbin"
+mv "$1/bin/"* "$1/sbin/"* "$1/usr/bin"
+rmdir "$1/bin" "$1/sbin"