mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
17 lines
422 B
Bash
17 lines
422 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
if [ "$#" -ne 2 ] || ! [ -d "$1" ] || ! [ -d "$2" ]; then
|
||
|
echo "Usage: $0 <BUILD-DIR> <REPO-DIR>" >&2
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
builddir="$1"
|
||
|
repodir="$2"
|
||
|
echo build directory = $builddir
|
||
|
echo repository root dirrectory = $repodir
|
||
|
|
||
|
echo Copying binaries
|
||
|
cp -v "$builddir"/bin/hyperiond "$repodir"/deploy
|
||
|
cp -v "$builddir"/bin/hyperion-remote "$repodir"/deploy
|
||
|
cp -v "$builddir"/bin/gpio2spi "$repodir"/deploy
|