annotate deploy/src/archive-tip.sh @ 833:9e4b7c7a90b5

Fix some potential null-pointer derefs, and simplify some logic where loops were used with an unconditional "break" that meant they could only happen once (from coverity scan)
author Chris Cannam
date Wed, 03 Sep 2014 12:04:22 +0100
parents d333705f6c29
children 471b0fb002ea
rev   line source
Chris@718 1 #!/bin/bash
Chris@718 2
Chris@718 3 tag=`hg id | awk '{ print $1; }'`
Chris@718 4
Chris@718 5 echo "Packaging from tag $tag..."
Chris@718 6
Chris@718 7 hg archive -r"$tag" --subrepos --exclude sv-dependency-builds /tmp/sonic-visualiser-"$tag".tar.gz
Chris@718 8