aboutsummaryrefslogtreecommitdiff
path: root/extra/ntfs-3g/build
blob: 77a53d3b7c2fa9a14e0748fc6077d000867e20f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh -e

./configure \
	--prefix=/usr \
	--sbindir=/usr/bin

make
make DESTDIR="$1" install

install -Dm755 "$1/bin/"* -t "$1/usr/bin"
install -Dm755 "$1/sbin/"* -t "$1/usr/bin"

# KISS will always assign a $1 value
# shellcheck disable=2115
rm -r "$1/bin" "$1/sbin"