diff options
author | Jan Safranek <jsafrane@redhat.com> | 2009-03-13 15:16:19 +0100 |
---|---|---|
committer | Jan Safranek <jsafrane@redhat.com> | 2009-03-26 09:34:18 +0100 |
commit | f8e05fc8c129a13fed256b03a23537ef94c77152 (patch) | |
tree | c64ea7d9f7daeefd307feec1bcb90ea5e3e6d600 /mktarball-trunk | |
parent | 04bb98f8bd9751dd8a514b0e3a6c4862ceabeae9 (diff) | |
download | libcg-f8e05fc8c129a13fed256b03a23537ef94c77152.tar.gz libcg-f8e05fc8c129a13fed256b03a23537ef94c77152.tar.xz libcg-f8e05fc8c129a13fed256b03a23537ef94c77152.zip |
Distribute files to various subdirectories
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
Diffstat (limited to 'mktarball-trunk')
-rw-r--r-- | mktarball-trunk | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/mktarball-trunk b/mktarball-trunk deleted file mode 100644 index c181d95..0000000 --- a/mktarball-trunk +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh - -srcd=$PWD -package_version=0.2 -case $# in - 0) - ;; - *) echo "usage is $0" - exit 1 - ;; -esac - -svn info 2>&1 > /dev/null - -if [ $? -eq 1 ] -then - issvn=0 -else - issvn=1 -fi - -if [[ $issvn -eq 1 ]] -then - svn export --force http://libcg.svn.sf.net/svnroot/libcg/trunk/ /tmp/libcgroup-trunk - if [[ $? -ne 0 ]] - then - echo "Trunk missing" - fi -else - cp -a . /tmp/libcgroup-trunk -fi - -pushd /tmp 2>&1 > /dev/null -tar jcf $srcd/libcgroup-trunk.tar.bz2 libcgroup-trunk -popd 2>&1 > /dev/null - |