diff options
author | Niels Thykier <niels@thykier.net> | 2022-11-20 14:16:15 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2022-11-20 18:39:25 +0000 |
commit | f07654a8fd662ef1ec51d72ccda0d5ed92f14078 (patch) | |
tree | 650ed8d584c0d604e653d70c7fcbc4a45b692c06 /t/dh_usrlocal/01-basic.t | |
parent | 9553c5ce7ea5cc5c9a70657c751d69b258ba16ce (diff) |
Dh_Lib.pm: Provide `mkdirs` to create (non-package) directories
This is an alternative to `install_dir` that never does chown (and is
not printed with `--verbose`). It is intended for creating
directories that are not part of a binary package.
Note that at the moment `install_dir` does not do chown either,
which is a bug (causing #1024261).
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 't/dh_usrlocal/01-basic.t')
-rwxr-xr-x | t/dh_usrlocal/01-basic.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/dh_usrlocal/01-basic.t b/t/dh_usrlocal/01-basic.t index 2cd3f842..9b055161 100755 --- a/t/dh_usrlocal/01-basic.t +++ b/t/dh_usrlocal/01-basic.t @@ -43,7 +43,7 @@ sub perform_test { rm_files(@scripts); remove_tree('debian/debhelper'); - install_dir(map { "debian/debhelper/$_" } @{$install_dirs}); + mkdirs(map { "debian/debhelper/$_" } @{$install_dirs}); ok(run_dh_tool('dh_usrlocal')); |