diff options
Diffstat (limited to 'src/interp/i-syscmd.boot')
-rw-r--r-- | src/interp/i-syscmd.boot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interp/i-syscmd.boot b/src/interp/i-syscmd.boot index 297a8810..2904c5e9 100644 --- a/src/interp/i-syscmd.boot +++ b/src/interp/i-syscmd.boot @@ -258,9 +258,10 @@ listConstructorAbbreviations() == --% )cd cd args == - dir := TRUENAME STRING(car args or '"") + dir := TRUENAME STRING(first args or '"") changeDirectory NAMESTRING dir - SETF(_*DEFAULT_-PATHNAME_-DEFAULTS_*, ensureTrailingSlash NAMESTRING dir) + SETF(_*DEFAULT_-PATHNAME_-DEFAULTS_*, + PATHNAME ensureTrailingSlash NAMESTRING dir) sayKeyedMsg("S2IZ0070", [NAMESTRING _*DEFAULT_-PATHNAME_-DEFAULTS_*]) |