Mercurial > hg > sonic-visualiser
diff deploy/linux/deploy-deb.sh @ 1532:9b59deb4a854
Update these so they work in Docker
author | Chris Cannam |
---|---|
date | Wed, 11 Jan 2017 14:20:38 +0000 |
parents | 8b63b44c3a91 |
children | c377ab5c1447 |
line wrap: on
line diff
--- a/deploy/linux/deploy-deb.sh Wed Jan 11 09:44:03 2017 +0000 +++ b/deploy/linux/deploy-deb.sh Wed Jan 11 14:20:38 2017 +0000 @@ -1,6 +1,6 @@ #!/bin/bash # -# Run this from the build root +# Run this from the build root (with sudo, I think) usage() { echo @@ -20,7 +20,11 @@ usage fi +set -eu + program=sonic-visualiser +checker=vamp-plugin-load-checker +piper=piper-vamp-simple-server depdir=deploy/linux targetdir="${program}_${version}_${arch}" @@ -38,7 +42,7 @@ mkdir -p "$targetdir"/usr/bin "$targetdir"/usr/share/pixmaps -cp "$program" "$targetdir"/usr/bin/ +cp "$program" "$checker" "$piper" "$targetdir"/usr/bin/ cp icons/sv-icon*.svg "$targetdir"/usr/share/pixmaps/ cp "$program".desktop "$targetdir"/usr/share/applications/ @@ -56,5 +60,5 @@ bash "$depdir"/fix-lintian-bits.sh "$targetdir" -sudo dpkg-deb --build "$targetdir" && lintian "$targetdir".deb +dpkg-deb --build "$targetdir" && lintian "$targetdir".deb