summaryrefslogtreecommitdiffhomepage
path: root/vars/chainport_host.vars
diff options
context:
space:
mode:
Diffstat (limited to 'vars/chainport_host.vars')
-rw-r--r--vars/chainport_host.vars8
1 files changed, 5 insertions, 3 deletions
diff --git a/vars/chainport_host.vars b/vars/chainport_host.vars
index aa4450f4..a4108eb4 100644
--- a/vars/chainport_host.vars
+++ b/vars/chainport_host.vars
@@ -3,8 +3,10 @@
#
pkg_chainport_host_install_make() {
- rtl_fileop rm "${BUILD_WORKDIR}/chainport";
- rtl_fileop cp ../chainport "${BUILD_WORKDIR}/chainport";
+ if ! rtl_fileop rm "${BUILD_WORKDIR}/chainport"\
+ || ! rtl_fileop cp ../chainport "${BUILD_WORKDIR}/chainport"; then
+ return 1;
+ fi;
};
-# vim:filetype=sh
+# vim:filetype=sh textwidth=0