11 lines
230 B
Bash
11 lines
230 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
# doing it this way because otherwise the install script "rmdir"s /share
|
||
|
DESTDIR="${pkgdest:-/mnt/build}" make -j$(nproc) install
|
||
|
if [ ! "$pkgdest" ]; then
|
||
|
cp -r /mnt/build/* /
|
||
|
rsync -a /mnt/build/ /
|
||
|
fi
|