summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/deb/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2024-06-15 00:47:45 +0800
committerruki <[email protected]>2024-06-15 00:47:45 +0800
commitd60c319880c73efb7b5d8e363bd122f6cc1ddc1a (patch)
treed0b213e646cfb16d2557965bd0ef362a35a0d22f /xmake/plugins/pack/deb/main.lua
parent6cf3886bd1c113d3189d075cc936fd609e284680 (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 4dc23bc11..4e7bed7c4 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(), "debian/usr", {plain = true})
+ return filepath:replace(package:install_rootdir(), "$(PREFIX)", {plain = true})
end
-- get install command