summaryrefslogtreecommitdiff
path: root/tnslc/paths.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/paths.tnsl')
-rw-r--r--tnslc/paths.tnsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tnslc/paths.tnsl b/tnslc/paths.tnsl
index da0e782..c85da11 100644
--- a/tnslc/paths.tnsl
+++ b/tnslc/paths.tnsl
@@ -23,7 +23,9 @@
/; full_path [{}charp]
;{}charp out = join((self.dirs), '/')
- ;out.append('/')
+ /; if (len (self.dirs) > 0)
+ ;out.append('/')
+ ;/
;add_strings(~out, ~(self.file))
;return out
;/