From: 오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 Date: Fri, 19 Oct 2018 07:19:49 +0000 (+0900) Subject: Introduce install script (#3254) X-Git-Tag: 0.3~565 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f64f2bc2e8b74c07908eb5e5d8decc100a78adf9;p=platform%2Fcore%2Fml%2Fnnfw.git Introduce install script (#3254) * Introduce install script introduce install script Howto: On project root, "./run install" with environment variable setting Signed-off-by: Hyeongseok Oh * Remove ambiguous comment --- diff --git a/scripts/command/install b/scripts/command/install new file mode 100644 index 0000000..c6631ce --- /dev/null +++ b/scripts/command/install @@ -0,0 +1,16 @@ +#!/bin/bash + +source "${NNFW_SCRIPT_PATH}/build.configuration" + +if [[ ! -d "${BUILD_ALIAS}" ]]; then + echo "'${BUILD_ALIAS}' does not exist. Please run 'configure' first" + exit 255 +fi + +if [[ ! -d "${INSTALL_ALIAS}" ]]; then + echo "'${INSTALL_ALIAS}' does not exist. Please run 'configure' first" + exit 255 +fi + +cd ${BUILD_ALIAS} +make install