aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bigaouette <nbigaouette@gmail.com>2012-04-30 12:23:30 -0400
committerNicolas Bigaouette <nbigaouette@gmail.com>2012-04-30 12:23:30 -0400
commit196b0da44a5a74a890b2c045877327dfe696b278 (patch)
tree4cf9fa6f384be82d8b3342a7822c8ff334d03713 /sys-devel
parentDon't use "cp" for copying files/folders into ${D}, use insinto/doins -r inst... (diff)
downloadsci-196b0da44a5a74a890b2c045877327dfe696b278.tar.gz
sci-196b0da44a5a74a890b2c045877327dfe696b278.tar.bz2
sci-196b0da44a5a74a890b2c045877327dfe696b278.zip
Assert sed execution with "die".
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gdebugger/gdebugger-6.2.438.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/gdebugger/gdebugger-6.2.438.ebuild b/sys-devel/gdebugger/gdebugger-6.2.438.ebuild
index c21232489..b9334d5ab 100644
--- a/sys-devel/gdebugger/gdebugger-6.2.438.ebuild
+++ b/sys-devel/gdebugger/gdebugger-6.2.438.ebuild
@@ -48,7 +48,7 @@ src_install() {
# Then create a lowercase symbolic link to this new launcher.
dodir /usr/bin
cp ${D}${_destination}/${My_PN} ${D}/usr/bin/${My_PN}
- sed "s|gDEBuggerBinariesDir=.*|gDEBuggerBinariesDir=\"${_destination}\"|g" -i ${D}/usr/bin/${My_PN}
+ sed "s|gDEBuggerBinariesDir=.*|gDEBuggerBinariesDir=\"${_destination}\"|g" -i ${D}/usr/bin/${My_PN} || die "Failed to set gDEBuggerBinariesDir to ${_destination}."
dosym /usr/bin/${My_PN} /usr/bin/${PN}
dodir /usr/share/applications