Oh and of course I forgot the Signed-Off-By, will add that in v4.
Am Donnerstag, den 13.09.2018, 20:05 +0200 schrieb Florian Bäuerle:
> ptxt_install_find strips the last slash from a destination path. The
> result is an empty path if installing to the root directory.
> ---
> scripts/lib/ptxd_make_xpkg_pkg.sh | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh
> b/scripts/lib/ptxd_make_xpkg_pkg.sh
> index 5e69cefdc..51c24ce5e 100644
> --- a/scripts/lib/ptxd_make_xpkg_pkg.sh
> +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh
> @@ -648,7 +648,8 @@ export -f ptxd_install_generic
>
> ptxd_install_find() {
> local src="${1%/}"
> - local dst="${2%/}"
> + local dst=${2:1}
> + dst=${2:0:1}${dst%/}
> local usr="${3#-}"
> local grp="${4#-}"
> local strip="${5}"
_______________________________________________
ptxdist mailing list
[email protected]