#!/bin/sh
cd /cygdrive/e/Software/OsDev
# Get version number
read version < ./lux/Kernel/include/version.h
version=${version##"#define OS_BUILD \""}
version=${version%%"\""}
echo "Packing lux operating system build $version ..."
# Pack files
tar cfj lux-$version.tar.bz2 lux/