clwrapper: setup-hook: correctly handle multiple additions to registry

This commit is contained in:
Michael Raskin 2017-03-30 22:52:21 +02:00
parent 7a46312f1c
commit 6f904bd9ec

View File

@ -1,6 +1,6 @@
NIX_LISP_ASDF="@asdf@"
CL_SOURCE_REGISTRY="@asdf@/lib/common-lisp/asdf/:@asdf@/lib/common-lisp/asdf/uiop/"
CL_SOURCE_REGISTRY="${CL_SOURCE_REGISTRY:+$CL_SOURCE_REGISTRY:}@asdf@/lib/common-lisp/asdf/:@asdf@/lib/common-lisp/asdf/uiop/"
addASDFPaths () {
for j in "$1"/lib/common-lisp/*; do