From 0340000282a811bef4d03ac988b8514b70a60197 Mon Sep 17 00:00:00 2001 From: Ben Cumming Date: Tue, 9 Jul 2024 11:56:38 +0200 Subject: [PATCH] a hack that will make local install work for MCH jenkins workflow: will break RPM build --- install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install b/install index 47ae427..135c441 100755 --- a/install +++ b/install @@ -207,11 +207,11 @@ run install -v -m755 -D "${oras_path}/oras" "${destdir}/${oras_exe_path}" echo "installing $init_path" run install -v -m644 -D <( sed \ - -e "s|@@impl@@|$impl_path|g" \ + -e "s|@@impl@@|${destdir}/$impl_path|g" \ -e "s|@@version@@|$version|g" \ -e "s|@@prefix@@|$prefix|g" \ - -e "s|@@image_impl@@|$img_impl_path|g" \ - -e "s|@@wrapper@@|$wrapper_path|g" \ + -e "s|@@image_impl@@|${destdir}/$img_impl_path|g" \ + -e "s|@@wrapper@@|${destdir}/$wrapper_path|g" \ $script_path/activate) \ $init_path