lesgourg / class_public

Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
230 stars 285 forks source link

Added support in makefile for paths with spaces #449

Open JCGoran opened 3 years ago

JCGoran commented 3 years ago

Currently, CLASS fails to build if the absolute path to the directory contains any spaces. Worse yet, if the user moves the directory from a path without spaces to a path containing spaces, it could result in serious data loss if the user runs make clean due to the various rm -frs which are performed (see here for an extreme example). In any case, quoting the variables containing the paths at their points of use fixes the problem.