diff options
Diffstat (limited to 'infra/nnfw/command/install')
-rw-r--r-- | infra/nnfw/command/install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/infra/nnfw/command/install b/infra/nnfw/command/install new file mode 100644 index 000000000..2bacb876b --- /dev/null +++ b/infra/nnfw/command/install @@ -0,0 +1,16 @@ +#!/bin/bash + +import "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 |