distributed-build/0012-fix-rpm-build-fail-caused-by-wrong-useless-code.patch
2023-10-26 12:16:37 +08:00

25 lines
695 B
Diff

From c42d7cc5c56f11131dd6debee3b383b49d2d4344 Mon Sep 17 00:00:00 2001
From: tian2020 <tian_hang@hoperun.com>
Date: Tue, 30 May 2023 16:50:10 +0800
Subject: [PATCH] fix rpm build fail caused by wrong useless code
---
config/mac/xcrun.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/mac/xcrun.py b/config/mac/xcrun.py
index 0e29287..4f48d12 100755
--- a/config/mac/xcrun.py
+++ b/config/mac/xcrun.py
@@ -25,6 +25,6 @@ if __name__ == '__main__':
if rv == 0 and args.stamp:
if os.path.exists(args.stamp):
os.unlink(args.stamp)
- with open(args.stamp, 'w+') as fp:
+ #with open(args.stamp, 'w+') as fp:
sys.exit(rv)
--
2.33.0