diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-11-08 13:06:00 (EST) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2020-11-08 13:06:00 (EST) |
commit | 1b7a1b8954846b29e825a26cced6758a8b944683 (patch) | |
tree | 224be9842f2cbf90b791e78ffdce5232fb5a9f7b | |
parent | 8b6037b653dea0992388d38ecbbcbd4b5c635d5d (diff) |
oh-shlibdeps: Don't clobber substvars
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/oh-shlibdeps.sh | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -3,6 +3,9 @@ opkhelper version 3.1.3+dev Released: ????-??-?? + * oh-shlibdeps no longer overwrites the contents of existing substvars + files. + opkhelper version 3.1.3 ----------------------- diff --git a/src/oh-shlibdeps.sh b/src/oh-shlibdeps.sh index 910b194..92d3c5d 100644 --- a/src/oh-shlibdeps.sh +++ b/src/oh-shlibdeps.sh @@ -106,7 +106,7 @@ main() oh_init for d in *.data/; do - exec 3>"${d%.data/}.substvars" + exec 3>>"${d%.data/}.substvars" printf 'Shlib-Depends:' >&3 printf ' %s' $(find_elves "${d}" | sort -u) >&3 printf '\n' >&3 |