summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 06:44:09 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:43:44 +0100
commitb3b75012c70cae7758d50d1fa91e0554fec2d4d7 (patch)
treea0b57e2fa4f228c058e7df0c2f03a797102d6f18 /sci-geosciences
parentsci-geosciences/opencpn-plugin-climatology: fix variable references (diff)
downloadgentoo-b3b75012c70cae7758d50d1fa91e0554fec2d4d7.tar.gz
gentoo-b3b75012c70cae7758d50d1fa91e0554fec2d4d7.tar.bz2
gentoo-b3b75012c70cae7758d50d1fa91e0554fec2d4d7.zip
sci-geosciences/opencpn-plugin-logbookkonni: fix variable reference, missing die
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-geosciences')
-rw-r--r--sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.3002.ebuild4
-rw-r--r--sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.3002.ebuild b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.3002.ebuild
index 8a0124d6bf0e..7f63c653a7e3 100644
--- a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.3002.ebuild
+++ b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-1.3002.ebuild
@@ -43,8 +43,8 @@ src_prepare() {
src_install() {
# install layouts as zip
cmake-utils_src_install
- cd "$WORKDIR"
- zip -r "$D"/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip Clouds HTMLLayouts ODTLayouts
+ cd "${WORKDIR}" || die
+ zip -r "${D}"/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip Clouds HTMLLayouts ODTLayouts || die
}
pkg_postinst() {
diff --git a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild
index 8a0124d6bf0e..7f63c653a7e3 100644
--- a/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild
+++ b/sci-geosciences/opencpn-plugin-logbookkonni/opencpn-plugin-logbookkonni-9999.ebuild
@@ -43,8 +43,8 @@ src_prepare() {
src_install() {
# install layouts as zip
cmake-utils_src_install
- cd "$WORKDIR"
- zip -r "$D"/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip Clouds HTMLLayouts ODTLayouts
+ cd "${WORKDIR}" || die
+ zip -r "${D}"/usr/share/opencpn/plugins/logbookkonni_pi/data/LogbookKonni_Layouts.zip Clouds HTMLLayouts ODTLayouts || die
}
pkg_postinst() {