diff options
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index e86d87ce6..fa409aace 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -814,7 +814,7 @@ function _instance:rulesdir() if not os.isdir(rulesdir) and self:base() then rulesdir = self:base():rulesdir() end - if not os.isdir(rulesdir) then + if rulesdir == nil or not os.isdir(rulesdir) then rulesdir = false end self._RULESDIR = rulesdir |
