[Openmcl-devel] handling special chars in CCL_DEF_DIR
Barry Perryman
gekki_uk at hotmail.com
Wed Feb 12 14:33:26 PST 2003
Can you not do:
DD=/foo/hamilton\'s\ path/bar/ccl
when you declare DD at the top of the script?
Barry
>From: "Hamilton Link" <helink at sandia.gov>
>
>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
_________________________________________________________________
Surf together with new Shared Browsing
http://join.msn.com/?page=features/browse&pgmarket=en-gb&XAPID=74&DI=1059
More information about the Openmcl-devel
mailing list