mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-13 09:34:54 +00:00
13 lines
276 B
Plaintext
13 lines
276 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
DIRS="libsepol libselinux libsemanage policycoreutils checkpolicy sepolgen"
|
||
|
|
||
|
mkdir ../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
|
||
|
|