eclipse/get-eclipse.sh
Krzysztof Daniel 781979c278 - Rhbz 981905 - Use xz to compress tarball
- Fix the fetch script.
- Rebuild to pick latest deps.
2013-07-08 17:02:05 +02:00

30 lines
766 B
Bash
Executable File

#!/bin/bash
set -e
AGGREGATOR_PATH=git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git
TAG=R4_3
rm -rf R4_platform-aggregator-$TAG
rm -rf R4_platform-aggregator-$TAG.tar.xz
git clone --branch $TAG --depth 1 $AGGREGATOR_PATH R4_platform-aggregator-$TAG
pushd R4_platform-aggregator-$TAG
git submodule init
git submodule update
#comment this line to get a shallow clone.
find . -type d -name ".git" | xargs rm rm -rf
find . -type f -name *.class -exec rm -rf {} \;
find . -name *.jar -type f -exec rm -rf {} \;
find . -type f -name *.so -exec rm -rf {} \;
find . -type f -name *.dll -exec rm -rf {} \;
find . -type f -name *.jnilib -exec rm -rf {} \;
popd
tar cJf R4_platform-aggregator-$TAG.tar.xz R4_platform-aggregator-$TAG