quil-lang / qvm

The high-performance and featureful Quil simulator.
Other
411 stars 57 forks source link

Wrap variable in quotes, in Makefile #231

Closed notmgsk closed 4 years ago

notmgsk commented 4 years ago

I'm not entirely sure why I was seeing the following behaviour, but this PR fixes it.

At the top of Makefile, $LISP_CACHE is defined using backtick notation. Later, in the clean-cache target, $LISP_CACHE is used twice: once in an echo, and once in a rm. In the echo, the path is displayed properly, but in the rm it looks like the backticks are not evaluated, and instead the command is rm `sbcl ...` which results in an error.