sysroot: add error handling code to build_ubuntu_sysroot
sysroot: add error handling code to build_ubuntu_sysroot

This patch adds error handling code and making output directory.

Change-Id: Iababe127ce54251c52976c4435c883a0c96c9f20
Signed-off-by: Sowon Na <7ed402a04f2fdc9693a203092231aea9e041664b@samsung.com>

SamsungARTIK/build-artik