updated deploy binaries and install script

Former-commit-id: 49f5751d38ebc56a58720118ed5269d2615d7152
This commit is contained in:
johan
2013-10-14 21:03:58 +02:00
parent e2983283cb
commit 8ced509298
7 changed files with 21 additions and 1 deletions

16
bin/copy_binaries_to_deploy.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/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