luxos/scripts/pack.sh

13 lines
279 B
Bash
Raw Normal View History

#!/bin/sh
2021-09-14 15:59:37 +00:00
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/