2012-07-26 10:25:54 +00:00
|
|
|
#!/bin/bash
|
2013-03-15 08:27:43 +00:00
|
|
|
set -e
|
2012-07-26 10:25:54 +00:00
|
|
|
|
|
|
|
rm -rf R4_platform-aggregator
|
2013-03-15 08:27:43 +00:00
|
|
|
rm -rf eclipse-source.tar.bz2
|
2012-07-26 10:25:54 +00:00
|
|
|
|
2013-01-28 12:46:52 +00:00
|
|
|
git clone --recurse-submodules git://git.eclipse.org/gitroot/platform/eclipse.platform.releng.aggregator.git R4_platform-aggregator
|
2012-07-26 10:25:54 +00:00
|
|
|
|
2012-09-19 11:20:23 +00:00
|
|
|
|
|
|
|
pushd R4_platform-aggregator
|
2013-03-15 08:27:43 +00:00
|
|
|
find . -type d -name "\.git" -exec rm -rf {} \;
|
2012-07-26 10:25:54 +00:00
|
|
|
|
|
|
|
find . -type f -name "*.class" -exec rm -rf {} \;
|
|
|
|
|
|
|
|
find . -name *.jar -exec rm -rf {} \;
|
|
|
|
|
|
|
|
find . -type f -name *.so -exec rm -rf {} \;
|
2012-08-23 09:45:12 +00:00
|
|
|
find . -type f -name *.dll -exec rm -rf {} \;
|
|
|
|
find . -type f -name *.jnilib -exec rm -rf {} \;
|
2012-09-19 11:20:23 +00:00
|
|
|
popd
|
|
|
|
tar cjf eclipse-source.tar.bz2 R4_platform-aggregator
|