[Openmcl-devel] handling special chars in CCL_DEF_DIR
Hamilton Link
helink at sandia.gov
Wed Feb 12 11:48:19 PST 2003
In the scripts/openmcl script, you may find that openmcl won't be run
if you have a CCL_DEFAULT_DIRECTORY pathname that has special chars in
a directory name (for example "/foo/hamilton's path/bar/ccl").
The fix appears to be to wrap the value of CCL_DEFAULT_DIRECTORY in
quotes (or backslash the spaces, etc.) so that you can bind the
environment variable, and replace the original call in scripts/openmcl:
CCL_DEFAULT_DIRECTORY=${DD} exec ${DD}/${OPENMCL_KERNEL} "$@"
with the following:
eval CCL_DEFAULT_DIRECTORY='"'${DD}'"' exec
'"'${DD}/${OPENMCL_KERNEL}'"' "$@"
Caveat emptor. If anyone else can confirm that this works or come up
with something even better before this gets worked into the repo,
that'd probably be best.
hamilton
_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
More information about the Openmcl-devel
mailing list