make config an argument

This commit is contained in:
Maxime Gimeno 2021-02-16 10:29:23 +01:00
parent f4c049ba1e
commit f1c7186c73
2 changed files with 3 additions and 3 deletions

View File

@ -655,8 +655,8 @@ echo 'COLLECTING RESULTS';
./collect_cgal_testresults_from_cmake;
if [ -n "\$COLLECT_DEMOS_BINARIES" ]; then
echo 'COLLECTING DEMOS BINARIES';
echo "cp ${CGAL_TEST_DIR}/../developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh ${CGAL_BINARY_DIR}/test"
cp "${CGAL_TEST_DIR}/../developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh" "${CGAL_BINARY_DIR}/test"
echo "cp ${CGAL_TEST_DIR}/../developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh ${CGAL_BINARY_DIR}/test \"\""
cp "${CGAL_TEST_DIR}/../developer_scripts/cgal_demo_copy_all_dlls_cygwin.sh" "${CGAL_BINARY_DIR}/test \"\""
EOF
cat >> "$file" <<'EOF'
for demo_dir in *_Demo; do

View File

@ -7,7 +7,7 @@
#If using MSVC Generator, declare config="Release"
declare config=""
declare config="$2"
declare target_directory="$1"
if [[ ! -d "$target_directory" ]]