diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-22 10:43:56 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de> | 2017-12-22 10:43:56 +0000 |
commit | 9f270b40da5e6b34a241171cb8449e7722e8b9ca (patch) | |
tree | 27b6125fe7451a9e1caf67b31c63001a656f44a9 /subr | |
parent | 5e8959ba8825976f128bb3226d01feb1004f8749 (diff) | |
download | midipix_build-9f270b40da5e6b34a241171cb8449e7722e8b9ca.tar.bz2 midipix_build-9f270b40da5e6b34a241171cb8449e7722e8b9ca.tar.xz |
subr/ex_rtl_install.subr: prepend ${_prefix} to source pathname as well.
vars/build.vars:dash_minipix: copy bin/sh instead of symlinking.
Diffstat (limited to 'subr')
-rw-r--r-- | subr/ex_rtl_install.subr | 3 |
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; |