summaryrefslogtreecommitdiff
path: root/xmake/scripts/action/_package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/action/_package.lua')
-rw-r--r--xmake/scripts/action/_package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/action/_package.lua b/xmake/scripts/action/_package.lua
index 3fc9f6e4b..18d7d5024 100644
--- a/xmake/scripts/action/_package.lua
+++ b/xmake/scripts/action/_package.lua
@@ -65,7 +65,7 @@ function _package._build(arch, target_name)
-- rebuild it
if os.execute(string.format("xmake -r -P %s %s", xmake._PROJECT_DIR, target_name)) ~= 0 then
-- errors
- utils.error("build %s failed!", utils.ifelse(target_name, target_name, "all"))
+ utils.error("build failed!")
return false
end