I have a simple bash script running on OS X that removes specific files and directories and copies new ones in their place. One Mac .app directory contains a space, and when I
You have an extra space there, it's simply
"$NEWAPP"
enclose the whole final line in quotes:
"$CP $NEWAPP $INSTALL_DIR$NEWAPP"
it's unnecessary to keep opening and closing the quotes here, and the $CP must be contained in quotes as CP has a space in it.