From 75428e37ddd2f18ce58a42c2e8f63fd991de36a8 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Tue, 21 Jan 2020 13:38:53 +0100 Subject: [PATCH] assign the absolute key path and not the relative one --- mmdebstrap | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index a0330b4..1bcec9a 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2724,10 +2724,10 @@ sub main() { } # since abs_path resolved all symlinks for us, we can now test # what the actual target actually is - if (-d $opt_value) { - $options->{apttrustedparts} = $opt_value; + if (-d $abs_path) { + $options->{apttrustedparts} = $abs_path; } else { - $options->{apttrusted} = $opt_value; + $options->{apttrusted} = $abs_path; } }, 's|silent' => sub { $verbosity_level = 0; },