Add quotes in instructions

This commit is contained in:
Richard Berger 2021-04-30 18:47:00 -04:00
parent dfa9f15817
commit fe2a6eb8e7
No known key found for this signature in database
GPG Key ID: A9E83994E0BA0CAB
3 changed files with 4 additions and 4 deletions

View File

@ -68,7 +68,7 @@ source tools/offline/use_caches.sh
mkdir build
cd build
cmake -D LAMMPS_DOWNLOADS_URL=${HTTP_CACHE_URL} -C ${LAMMPS_HTTP_CACHE_CONFIG} -C ../cmake/presets/most.cmake ../cmake
cmake -D LAMMPS_DOWNLOADS_URL=${HTTP_CACHE_URL} -C "${LAMMPS_HTTP_CACHE_CONFIG}" -C ../cmake/presets/most.cmake ../cmake
make -j 8
deactivate_caches

View File

@ -40,6 +40,6 @@ mkdir -p "$HTTP_CACHE_DIR"
echo "##############################################################################"
echo
echo "To activate:"
echo "source ${SCRIPT_DIR}/use_caches.sh"
echo "source \"${SCRIPT_DIR}/use_caches.sh\""
echo
echo "##############################################################################"

View File

@ -57,11 +57,11 @@ echo "##########################################################################
echo
echo "Prepend the following CMake options to your builds:"
echo
echo "-D LAMMPS_DOWNLOADS_URL=\${HTTP_CACHE_URL} -C \${LAMMPS_HTTP_CACHE_CONFIG}"
echo "-D LAMMPS_DOWNLOADS_URL=\${HTTP_CACHE_URL} -C \"\${LAMMPS_HTTP_CACHE_CONFIG}\""
echo
echo "or"
echo
echo "-D LAMMPS_DOWNLOADS_URL=${HTTP_CACHE_URL} -C ${LAMMPS_HTTP_CACHE_CONFIG}"
echo "-D LAMMPS_DOWNLOADS_URL=${HTTP_CACHE_URL} -C \"${LAMMPS_HTTP_CACHE_CONFIG}\""
echo
echo "pip installations and git clones (from git://) are automatically redirected"
echo