aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--global-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index 0a0b1ff..9721b8b 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;
}