Skip to content

Instantly share code, notes, and snippets.

@cargabsj175
Created April 2, 2014 20:21
Show Gist options
  • Save cargabsj175/9942308 to your computer and use it in GitHub Desktop.
Save cargabsj175/9942308 to your computer and use it in GitHub Desktop.
#!/bin/bash
# cleaning old .config
# echo "* Removing .config ..."
# rm .config 2>/dev/null
# cleaning projects
#for i in abi bionic bootable build \
# compare-locales dalvik development \
# device external frameworks gaia \
# gecko gecko-l10n gonk-misc hardware\
# kernel lib* ndk o* patches \
# prebuilt rilproxy system vendor vegnuxmod;do
for i in gaia gecko* o* vegnuxmod compare-locales gonk-misc;do
echo "* Removing $i ..."
rm -r $i 2>/dev/null
done
# cleaning gaia languajes
for i in de el es fr hu it pl pt-BR ru;do
cd gaia-l10n
echo "* Removing gaia-l10n/$i ..."
rm -r $i 2>/dev/null
cd ..
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment