Modified .gitignore and make calls to cpld.sh more compatible across linux versions.