diff options
Diffstat (limited to 'xmake/plugins/pack/deb/main.lua')
| -rw-r--r-- | xmake/plugins/pack/deb/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/deb/main.lua b/xmake/plugins/pack/deb/main.lua index 076b88da3..8088d39bd 100644 --- a/xmake/plugins/pack/deb/main.lua +++ b/xmake/plugins/pack/deb/main.lua @@ -191,7 +191,7 @@ function _pack_deb(debuild, package) local debiandir = path.join(sourcedir, "debian") if not os.isdir(debiandir) then local debiandir_template = package:get("specfile") or path.join(os.programdir(), "scripts", "xpack", "deb", "debian") - os.cp(debiandir_template, debiandir) + os.cp(debiandir_template, debiandir, {writeable = true}) end -- replace variables in specfile |
