forked from josch/mmdebstrap
apt does not support double quotes in paths
This commit is contained in:
parent
27f10e2300
commit
5498f61ce5
1 changed files with 6 additions and 0 deletions
|
@ -1535,6 +1535,12 @@ sub main() {
|
|||
}
|
||||
}
|
||||
|
||||
# check for double quotes because apt doesn't allow to escape them and
|
||||
# thus paths with double quotes are invalid in the apt config
|
||||
if ($options->{root} =~ /"/) {
|
||||
die "apt cannot handle paths with double quotes";
|
||||
}
|
||||
|
||||
my @idmap;
|
||||
# for unshare mode the rootfs directory has to have appropriate
|
||||
# permissions
|
||||
|
|
Loading…
Reference in a new issue