diff options
author | Martin Väth <martin@mvath.de> | 2016-04-10 11:25:54 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2016-04-10 11:25:54 +0200 |
commit | 50a124e364ae2a1633402033a6ead889e8597a3d (patch) | |
tree | a30de916457c6820e6c4e271d26059ffd4159990 | |
parent | app-text/lesspipe: Add live ebuild (diff) | |
download | mv-50a124e364ae2a1633402033a6ead889e8597a3d.tar.gz mv-50a124e364ae2a1633402033a6ead889e8597a3d.tar.bz2 mv-50a124e364ae2a1633402033a6ead889e8597a3d.zip |
app-text/lesspipe: die on errors
-rw-r--r-- | app-text/lesspipe/lesspipe-1.83.ebuild | 4 | ||||
-rw-r--r-- | app-text/lesspipe/lesspipe-99999999.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app-text/lesspipe/lesspipe-1.83.ebuild b/app-text/lesspipe/lesspipe-1.83.ebuild index e4da36e0..b62137e9 100644 --- a/app-text/lesspipe/lesspipe-1.83.ebuild +++ b/app-text/lesspipe/lesspipe-1.83.ebuild @@ -131,7 +131,7 @@ Modify() { ModifyEnd() { sedline=${sedline}'}' - sed -i -e "${sedline}" "${S}/configure" + sed -i -e "${sedline}" "${S}/configure" || die } ModifyY() { @@ -207,7 +207,7 @@ src_prepare() { use hdf5; ModifyX 'h5dump' use netcdf; ModifyX 'ncdump' ModifyEnd - printf '%s\n' 'LESS_ADVANCED_PREPROCESSOR=1' >70lesspipe + printf '%s\n' 'LESS_ADVANCED_PREPROCESSOR=1' >70lesspipe || die eapply_user } diff --git a/app-text/lesspipe/lesspipe-99999999.ebuild b/app-text/lesspipe/lesspipe-99999999.ebuild index e4da36e0..b62137e9 100644 --- a/app-text/lesspipe/lesspipe-99999999.ebuild +++ b/app-text/lesspipe/lesspipe-99999999.ebuild @@ -131,7 +131,7 @@ Modify() { ModifyEnd() { sedline=${sedline}'}' - sed -i -e "${sedline}" "${S}/configure" + sed -i -e "${sedline}" "${S}/configure" || die } ModifyY() { @@ -207,7 +207,7 @@ src_prepare() { use hdf5; ModifyX 'h5dump' use netcdf; ModifyX 'ncdump' ModifyEnd - printf '%s\n' 'LESS_ADVANCED_PREPROCESSOR=1' >70lesspipe + printf '%s\n' 'LESS_ADVANCED_PREPROCESSOR=1' >70lesspipe || die eapply_user } |