Fixes make-publish script for Linux

Creates target directory before cd using user input
Removes an extra copy of the target directory, e.g. if user wants to build into tempfolder, the copy process also copies the tempfolder again into tempfolder. This removes the inner (superfluous) copy.

Signed-off-by: Kaitlin Huben <kaitlin.huben@gmail.com>