chickadee » srfi-193 » script-directory

script-directoryprocedure

Returns (script-file) without the filename part, respecting the current binding of the script-file parameter.

The string ends with a directory separator so string-append can be used to build pathnames to refer to files in the same directory as the script.

Returns #f in any situation where (script-file) returns #f.