mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
dev-cpp/folly: add || die on sed commands
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de>
This commit is contained in:
@@ -32,7 +32,7 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare(){
|
||||
einfo $(get_libdir)
|
||||
sed "s/lib CACHE/$(get_libdir) CACHE/" -i CMakeLists.txt
|
||||
sed "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" -i CMakeLists.txt
|
||||
sed "s/lib CACHE/$(get_libdir) CACHE/" -i CMakeLists.txt || die
|
||||
sed "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" -i CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
@@ -32,5 +32,5 @@ src_prepare() {
|
||||
cmake_src_prepare
|
||||
sed -e "s/lib CACHE/$(get_libdir) CACHE/" \
|
||||
-e "s/lib\/cmake\/folly CACHE/$(get_libdir)\/cmake\/folly CACHE/" \
|
||||
-i CMakeLists.txt
|
||||
-i CMakeLists.txt || die
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user