From bd611ac59f7c4db885a2f8631ef0bcdcd1901ca0 Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 2 Apr 2015 10:43:33 +0200 Subject: Init --- make_dist.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 make_dist.sh (limited to 'make_dist.sh') diff --git a/make_dist.sh b/make_dist.sh new file mode 100755 index 0000000..c342eaa --- /dev/null +++ b/make_dist.sh @@ -0,0 +1,19 @@ +#!/bin/bash +# +# Copyright 2011 Google Inc. All Rights Reserved. +# Author: watson@google.com (Tony Watson) + +rev=`svn up|awk '{print $3}'` +archive="capirca-r"$rev"tgz" +filedir='./capirca' + +echo "Building: $archive" +find . -name \*.pyc -exec rm {} \; +pushd . > /dev/null +cd .. +tar -czf $archive --exclude-vcs $filedir +mv $archive $filedir +popd > /dev/null +ls -al $archive +echo "Done." + -- cgit v1.1