fix deploy.sh to support BSD 'cp'

The cp command works different in the Mac OS X (BSD).
If source argument ends with '/', it will copy contents of source directory to
target directory.

e.g, If $f is 'base/format',
cp -r $SOURCE/source/$f/ $(dirname $TARGET/source/$f)
GNU cp will copy directory $SOURCE/source/base/format to $TARGET/source/base.
But BSD cp will copy $SOURCE/source/base/format/* to $TARGET/source/base.

So, current script should be changed from
	cp -r $SOURCE/source/$f/ $(dirname $TARGET/source/$f);
to
	cp -r $SOURCE/source/$f $(dirname $TARGET/source/$f);

This will work properly in both of Linux and Mac OS X (BSD).
Merge pull request #5 from jooncheol/patch-for-mac

fix deploy.sh to support BSD 'cp'

Reviewed-By: Ben Combee (ben.combee@lge.com)