summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-10-29 01:51:05 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-10-29 01:51:05 +0000
commit70f9593df1dfe4c4dae9c12ceea4efba03ea176b (patch)
tree2bc8f8e34f08066baa6e5f6a8c077a3dd64038a2 /media-gfx/grace
parentversion update (diff)
downloadgentoo-2-70f9593df1dfe4c4dae9c12ceea4efba03ea176b.tar.gz
gentoo-2-70f9593df1dfe4c4dae9c12ceea4efba03ea176b.tar.bz2
gentoo-2-70f9593df1dfe4c4dae9c12ceea4efba03ea176b.zip
added || die to sed commands in case future Makefile changes radically
Diffstat (limited to 'media-gfx/grace')
-rw-r--r--media-gfx/grace/grace-5.1.4.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/media-gfx/grace/grace-5.1.4.ebuild b/media-gfx/grace/grace-5.1.4.ebuild
index 60dd11cc169f..4e6e157b418f 100644
--- a/media-gfx/grace/grace-5.1.4.ebuild
+++ b/media-gfx/grace/grace-5.1.4.ebuild
@@ -34,29 +34,29 @@ src_compile() {
cp doc/Makefile doc/Makefile.orig
sed -e 's:$(GRACE_HOME)/doc:$(PREFIX)/share/doc/$(PF)/html:g' \
- doc/Makefile.orig >doc/Makefile
+ doc/Makefile.orig >doc/Makefile || die
cp auxiliary/Makefile auxiliary/Makefile.orig
sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \
- auxiliary/Makefile.orig >auxiliary/Makefile
+ auxiliary/Makefile.orig >auxiliary/Makefile || die
cp grconvert/Makefile grconvert/Makefile.orig
sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \
- grconvert/Makefile.orig >grconvert/Makefile
+ grconvert/Makefile.orig >grconvert/Makefile || die
cp src/Makefile src/Makefile.orig
sed -e 's:$(GRACE_HOME)/bin:$(PREFIX)/bin:g' \
- src/Makefile.orig >src/Makefile
+ src/Makefile.orig >src/Makefile || die
cp grace_np/Makefile grace_np/Makefile.orig
sed -e 's:$(GRACE_HOME)/lib:$(PREFIX)/lib:g' \
-e 's:$(GRACE_HOME)/include:$(PREFIX)/include:g' \
- grace_np/Makefile.orig >grace_np/Makefile
+ grace_np/Makefile.orig >grace_np/Makefile || die
cp examples/Makefile examples/Makefile.orig
sed -e 's:/examples:/share/doc/$(PF)/examples:g' \
-e 's:$(GRACE_HOME):$(PREFIX):g' \
- examples/Makefile.orig >examples/Makefile
+ examples/Makefile.orig >examples/Makefile || die
emake || die
}