summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/deb/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-06-14 23:20:49 +0800
committerruki <[email protected]>2024-06-14 23:20:49 +0800
commit52c27245a11bdc8063090345b2432497b5b84148 (patch)
tree7e60f5839d032b0cf02cc2bf9e4222889bd89738 /xmake/plugins/pack/deb/main.lua
parentbe13dea48369944fe9e47d40824bff0c62e09977 (diff)
fix prefix
Diffstat (limited to 'xmake/plugins/pack/deb/main.lua')
-rw-r--r--xmake/plugins/pack/deb/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/deb/main.lua b/xmake/plugins/pack/deb/main.lua
index 1ea95d5d4..3fd3907a2 100644
--- a/xmake/plugins/pack/deb/main.lua
+++ b/xmake/plugins/pack/deb/main.lua
@@ -41,7 +41,7 @@ end
-- translate the file path
function _translate_filepath(package, filepath)
- return filepath:replace(package:install_rootdir(), "/usr", {plain = true})
+ return filepath:replace(package:install_rootdir(), "debian/usr", {plain = true})
end
-- get install command