diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | postfix-model.lua | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ APP_NAME=postfix PACKAGE=acf-$(APP_NAME) -VERSION=0.2.2 +VERSION=0.2.3 APP_DIST=\ postfix* \ diff --git a/postfix-model.lua b/postfix-model.lua index 32eb2ce..b37feb4 100644 --- a/postfix-model.lua +++ b/postfix-model.lua @@ -89,7 +89,7 @@ end function createfile(newfile) newfile.errtxt = "Failed to create file" - local path = newfile.value.filename.value + local path = string.match(newfile.value.filename.value, "^%s*(.*%S)%s*$") or "" if not string.find(path, "/") then path = baseurl..path end |