luxos/scripts/pack.sh
2021-09-14 18:59:37 +03:00

13 lines
279 B
Bash

#!/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/