selinux/scripts/release
Eric Paris 3a4fc087ee scripts: release: do not complain if release dir exists
I just don't like the error message when building tar files.

Signed-off-by: Eric Paris <eparis@redhat.com>
2013-02-05 20:19:03 -05:00

13 lines
279 B
Bash
Executable File

#!/bin/bash
DIRS="libsepol libselinux libsemanage policycoreutils checkpolicy sepolgen"
mkdir -p ../selinux-dev-release
for i in $DIRS; do
cd $i
git archive --format=tar --prefix=$i-`cat VERSION`/ HEAD | gzip > ../../selinux-dev-release/$i-`cat VERSION`.tar.gz
cd ..
done