add packaging to tricorder, as in the future this will need to be privileged
[tricorder.git] / package / make-package.sh
1 #!/bin/bash
2
3 pkgdir=`pwd`
4 cd `dirname $0`
5 cd ..
6 origdir=`pwd`
7
8 rm -v $pkgdir/*
9 zip -r -D -0 $pkgdir/package.zip * -x package/*
10 dver=`date +%y.%j.%k`
11 sed -e "s/DVER/$dver/" package/manifest.package > $pkgdir/manifest.package