eclipse/get-eclipse.sh

21 lines
592 B
Bash
Executable File

#!/bin/bash
rm -rf R4_platform-aggregator
rm eclipse-source.tar.bz2
git clone -b R4_2_maintenance --recurse-submodules git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git R4_platform-aggregator
pushd R4_platform-aggregator
find . -type d -name ".git" -exec rm -rf {} \;
find . -type f -name "*.class" -exec rm -rf {} \;
find . -name *.jar -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 eclipse-source.tar.bz2 R4_platform-aggregator