about summary refs log tree commit diff
path: root/scripts/install-modules
blob: 5f6100432ee94437d98de038be58e44fc7b7729e (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -eu

install_dir="$1"
shift

for mod; do
	printf "installing %s\n" "$mod"
	mkdir -p "$install_dir/$mod"
	install -m644 "$mod"/* "$install_dir/$mod"
done