1
0
mirror of https://github.com/CMiksche/gitea-auto-update synced 2025-12-10 07:57:23 +01:00

Changed mv to cp to preserve SELinux permissions

This commit is contained in:
Paul Johnston
2021-06-16 02:37:18 +08:00
committed by GitHub
parent af7941f10a
commit d926a19b6c

View File

@@ -16,4 +16,4 @@ def build_from_source(tag, gt_file, source_dir):
os.system("git pull") os.system("git pull")
os.system("git checkout " + tag) os.system("git checkout " + tag)
os.system('TAGS="bindata sqlite sqlite_unlock_notify" make generate build') os.system('TAGS="bindata sqlite sqlite_unlock_notify" make generate build')
os.system("mv gitea " + gt_file) os.system("cp gitea " + gt_file)