add packaging to tricorder, as in the future this will need to be privileged
[tricorder.git] / package / make-package.sh
diff --git a/package/make-package.sh b/package/make-package.sh
new file mode 100755 (executable)
index 0000000..c9f3d95
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+pkgdir=`pwd`
+cd `dirname $0`
+cd ..
+origdir=`pwd`
+
+rm -v $pkgdir/*
+zip -r -D -0 $pkgdir/package.zip * -x package/*
+dver=`date +%y.%j.%k`
+sed -e "s/DVER/$dver/" package/manifest.package > $pkgdir/manifest.package