blob: 2f8b177862896c6efaee409700a4840b88d8a2ef [file] [log] [blame]
#!/bin/bash
newArch=$1
moves(){
for f in $(find -type d); do
tofile=$(echo $f | sed "s/ppc/$newArch/")
if [ $tofile != $f ]; then
cp -pfr $f $tofile
fi
done
for f in $(find -type f); do
tofile=$(echo $f | sed "s/ppc/$newArch/")
if [ $tofile != $f ]; then
cp -pfr $f $tofile
rm -fr $f
fi
done
}
cd org.eclipse.equinox.launcher.gtk.linux.$newArch
moves
cd ..
cd org.eclipse.core.filesystem.linux.$newArch
moves
cd ..
cd org.eclipse.swt.gtk.linux.$newArch
moves
cd ..