busybox: fix work around for DESTDIR

This commit is contained in:
Sebastian Ertz 2019-08-18 12:44:14 +02:00
parent ce9909051b
commit 833bd897c3

View File

@ -1,10 +1,7 @@
#!/bin/sh -e
make
make install
# Work around no 'DESTDIR'.
cp -a _install/. "$1"
make CONFIG_PREFIX="$1" install
# Fix package filesystem.
mv "$1/bin/"* "$1/usr/bin"