2009-03-12 05:23:32 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
DIRS="libsepol libselinux libsemanage policycoreutils checkpolicy sepolgen"
|
|
|
|
|
2013-02-04 20:12:03 +00:00
|
|
|
mkdir -p ../selinux-dev-release
|
2009-03-12 05:23:32 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|