forked from lijiext/lammps
Add quotes in instructions
This commit is contained in:
parent
dfa9f15817
commit
fe2a6eb8e7
|
@ -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
|
||||
|
|
|
@ -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 "##############################################################################"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue