6 lines
197 B
Bash
Executable File
6 lines
197 B
Bash
Executable File
F_ROOT=$(readlink -f "$0")
|
|
D_ROOT=$(dirname "${F_ROOT}")/../../.
|
|
F_ARCHIVE=/tmp/cpp_launchpad.tar
|
|
cd ${D_ROOT}
|
|
git archive --format=tar -o ${F_ARCHIVE} HEAD && echo "Saved archive to ${F_ARCHIVE}"
|