|
Lines 162-182
Link Here
|
| 162 |
rm -rf ecfBundles orbitRepo |
162 |
rm -rf ecfBundles orbitRepo |
| 163 |
|
163 |
|
| 164 |
# Remove files from the version control system |
164 |
# Remove files from the version control system |
| 165 |
find -depth -name CVS -exec rm -rf {} \; |
165 |
find -depth \( -name CVS -o -name .cvsignore \) -exec rm -rf {} \; |
| 166 |
|
166 |
|
| 167 |
# Remove prebuilt binaries |
167 |
# Remove prebuilt binaries |
| 168 |
find \( -name '*.exe' -o -name '*.dll' \) -delete |
168 |
find \( -name '*.exe' -o -name '*.dll' \) -delete |
| 169 |
find \( -name '*.so' -o -name '*.so.2' -o -name '*.a' \) -delete |
169 |
find \( -name '*.so' -o -name '*.so.2' -o -name '*.a' \) -delete |
| 170 |
find \( -name '*.sl' -o -name '*.jnilib' \) -delete |
170 |
find \( -name '*.sl' -o -name '*.jnilib' \) -delete |
| 171 |
find features/org.eclipse.equinox.executable -name eclipse -delete |
171 |
find features/org.eclipse.equinox.executable -name eclipse -delete |
| 172 |
find \( -name '*.cvsignore' \) -delete |
172 |
find -name '*.xpt' -delete |
| 173 |
|
173 |
|
| 174 |
# Remove unnecessary repo |
174 |
# Remove unnecessary repo |
| 175 |
rm -rf tempSite |
175 |
rm -rf tempSite |
| 176 |
|
176 |
|
| 177 |
# Remove binary JARs |
|
|
| 178 |
find -name '*.jar' -delete |
| 179 |
|
| 180 |
# Remove fetch logs |
177 |
# Remove fetch logs |
| 181 |
rm fetch_* |
178 |
rm fetch_* |
| 182 |
|
179 |
|
|
Lines 184-189
Link Here
|
| 184 |
rm -rf features/org.eclipse.sdk.examples |
181 |
rm -rf features/org.eclipse.sdk.examples |
| 185 |
rm -rf plugins/*.examples* |
182 |
rm -rf plugins/*.examples* |
| 186 |
|
183 |
|
|
|
184 |
# Remove binary JARs |
| 185 |
find -name '*.jar' -delete |
| 186 |
find -name '*.class' -delete |
| 187 |
|
| 188 |
# Extract source .zip files |
| 189 |
cd plugins/org.eclipse.osgi.services |
| 190 |
unzip src.zip -d src |
| 191 |
cd ../org.eclipse.osgi.util |
| 192 |
unzip src.zip -d src |
| 193 |
cd ../.. |
| 194 |
# Remove all zip files |
| 195 |
find -name '*.zip' -delete |
| 196 |
|
| 197 |
# Correct permissions |
| 198 |
find -type d -print0 | xargs -0 chmod 755 |
| 199 |
find -type f -print0 | xargs -0 chmod 644 |
| 200 |
find -type f -name '*.sh' -print0 | xargs -0 chmod 755 |
| 201 |
|
| 187 |
# Remove empty directories |
202 |
# Remove empty directories |
| 188 |
find -type d -empty -delete |
203 |
find -type d -empty -delete |
| 189 |
|
204 |
|