Skip to content

Commit

Permalink
[misc] Replace library_core
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-bremond committed Jan 5, 2020
1 parent 5e4ba6e commit 688b316
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export docker_jupyter_notebook_image_repository := $(docker_image_repository)-ju
export jupyter_notebook_image_repository := jupyter/scipy-notebook:latest
export jupyter_notebook_port := 9003

export library_core_directory := $(project_directory)/../open-space-toolkit-core
export open_space_toolkit_core_directory := $(project_directory)/../open-space-toolkit-core

export ci_build_number := $(TRAVIS_BUILD_NUMBER)
export ci_commit := $(TRAVIS_COMMIT)
Expand Down
10 changes: 5 additions & 5 deletions tools/development/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@ if [[ ! -z ${1} ]] && [[ ${1} == "--link" ]]; then

# Open Space Toolkit ▸ Core

if [[ -z ${library_core_directory} ]]; then
echo "Variable [library_core_directory] is undefined."
if [[ -z ${open_space_toolkit_core_directory} ]]; then
echo "Variable [open_space_toolkit_core_directory] is undefined."
exit 1
fi

if [[ ! -d ${library_core_directory} ]]; then
echo "Open Space Toolkit ▸ Core directory [${library_core_directory}] cannot be found."
if [[ ! -d ${open_space_toolkit_core_directory} ]]; then
echo "Open Space Toolkit ▸ Core directory [${open_space_toolkit_core_directory}] cannot be found."
exit 1
fi

options="${options} \
--volume=${library_core_directory}:/mnt/open-space-toolkit-core:ro"
--volume=${open_space_toolkit_core_directory}:/mnt/open-space-toolkit-core:ro"

command=" \
rm -rf /usr/local/include/OpenSpaceToolkit/Core; \
Expand Down

0 comments on commit 688b316

Please sign in to comment.