Skip to content
Snippets Groups Projects
Commit 755dc829 authored by Stephan Schulz's avatar Stephan Schulz
Browse files

fix cp...

parent ed3becd0
No related branches found
No related tags found
1 merge request!16Add example projects to CI
Pipeline #58277 canceled
......@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
TEMP=$(mktemp -d)
cp -rL "$CI_SCRIPT_PATH/../example/CMakeProject/" "$TEMP"
cp -rL "$CI_SCRIPT_PATH/../example/CMakeProject/." "$TEMP"
cd "$TEMP"
sed -i\
-e "/^ALL_ROOT_DIR=/c\\\nALL_ROOT_DIR=\"$ALL_ROOT_DIR\"\n"\
......
......@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
TEMP=$(mktemp -d)
cp -rL "$CI_SCRIPT_PATH/../example/CMakeProjectSubdir/" "$TEMP"
cp -rL "$CI_SCRIPT_PATH/../example/CMakeProjectSubdir/." "$TEMP"
cd "$TEMP"
ln -s "$ALL_ROOT_DIR" all
ln -s "$VTK_DIR" vtk_bin
......
......@@ -9,7 +9,7 @@ find_VTK #sets VTK_DIR
TEMP=$(mktemp -d)
cp -rL "$CI_SCRIPT_PATH/../example/MakefileProject/" "$TEMP"
cp -rL "$CI_SCRIPT_PATH/../example/MakefileProject/." "$TEMP"
cd "$TEMP"
sed -i\
-e "/^ALL_SOURCE=/c\\\nALL_SOURCE=\"$ALL_ROOT_DIR\"\n"\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment