aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index 4d1d1a1..acf3546 100644
--- a/global-functions
+++ b/global-functions
@@ -510,6 +510,10 @@
:set Dir [ $CleanFilePath $Dir ];
+ :if ($Dir = "") do={
+ :return true;
+ }
+
:if ([ :len [ / file find where name=$Dir type="directory" ] ] = 1) do={
:return true;
}