index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-01-18 09:03:37 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-18 09:03:37 +0100 |
commit | d13aac55d8128d20d7981a134ee72c69f9efb5e9 (patch) | |
tree | fc469248f8af395744becda5ce80714f1a40a74f /lib | |
parent | 3761772845004be9100bb73e840be67dfde620f4 (diff) |
-rwxr-xr-x | lib/common-functions | 2 |
diff --git a/lib/common-functions b/lib/common-functions index dba56b7..772d889 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -906,9 +906,11 @@ apply_trunk_patch() { # no diff_source_dir => no action return fi + chmod +w "${source_dir}/PKGBUILD" diff -u3 "${diff_source_dir}/PKGBUILD" "${diff_source_dir}/../../trunk/PKGBUILD" \ | sed ' 1,2 s#^\(\(+++\|---\)\s\+\)\S\+/\(PKGBUILD\s.*\)$#\1\3# ' \ | patch -p0 "${source_dir}/PKGBUILD" + chmod -w "${source_dir}/PKGBUILD" } |