summaryrefslogtreecommitdiffhomepage
path: root/subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr')
-rw-r--r--subr/ex_rtl_install.subr3
1 files changed, 3 insertions, 0 deletions
diff --git a/subr/ex_rtl_install.subr b/subr/ex_rtl_install.subr
index 19504a85..239dceed 100644
--- a/subr/ex_rtl_install.subr
+++ b/subr/ex_rtl_install.subr
@@ -32,6 +32,9 @@ ex_rtl_install() {
*)
_file_fname_src="${1%=*}";
_file_fname_dst="${1#*=}";
+ if [ "${_file_fname_src#/}" = "${_file_fname_src}" ]; then
+ _file_fname_src="${_prefix:+${_prefix}/}${_file_fname_src}";
+ fi;
if [ "${_file_fname_dst#/}" = "${_file_fname_dst}" ]; then
_file_fname_dst="${_prefix:+${_prefix}/}${_file_fname_dst}";
fi;