diff options
author | 2024-06-17 14:42:17 +0200 | |
---|---|---|
committer | 2024-06-17 14:42:17 +0200 | |
commit | e90037a0dc749bcc923aab742cbd6b9513e9c2de (patch) | |
tree | 2583dbabe484c4d90e2f40f1c817f750b4136f58 /dev-libs | |
parent | dev-libs/libsignal-ffi: Fixing manifest and useless variables (diff) | |
download | guru-e90037a0dc749bcc923aab742cbd6b9513e9c2de.tar.gz guru-e90037a0dc749bcc923aab742cbd6b9513e9c2de.tar.bz2 guru-e90037a0dc749bcc923aab742cbd6b9513e9c2de.zip |
dev-libs/libsignal-ffi: Make only one sed call for cargo toml
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild index 6947f0c864..daf5f5e7ab 100644 --- a/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild +++ b/dev-libs/libsignal-ffi/libsignal-ffi-0.51.0.ebuild @@ -30,9 +30,11 @@ src_unpack() { default cargo_gen_config ln -s "${WORKDIR}/vendor/" "${WORKDIR}/libsignal-${PV}/vendor" || die - sed -i "${ECARGO_HOME}/config" -e '/source.crates-io/d' || die - sed -i "${ECARGO_HOME}/config" -e '/replace-with = "gentoo"/d' || die - sed -i "${ECARGO_HOME}/config" -e '/local-registry = "\/nonexistent"/d' || die + sed -i "${ECARGO_HOME}/config" \ + -e '/source.crates-io/d' \ + -e '/replace-with = "gentoo"/d' \ + -e '/local-registry = "\/nonexistent"/d' \ + || die cat "${WORKDIR}/vendor/vendor-config.toml" >> "${ECARGO_HOME}/config" || die } |