diff options
author | Josh Triplett <josh@joshtriplett.org> | 2018-09-15 17:20:31 -0700 |
---|---|---|
committer | Josh Triplett <josh@joshtriplett.org> | 2018-09-15 17:20:31 -0700 |
commit | 62b6840b0ed652f31c3cb542444675fec792f572 (patch) | |
tree | 3d6ae3d7de0463229437be4876b71e8f1d5e3062 /dh_auto_install | |
parent | 147350816049aecaed3f9a859e70128705c25af8 (diff) | |
download | debhelper-62b6840b0ed652f31c3cb542444675fec792f572.tar.gz |
Replace all calls to Cwd::cwd with Cwd::getcwd
The former calls /bin/pwd, while the latter uses the getcwd syscall
directly. This eliminates some forks and execs from every build.
Diffstat (limited to 'dh_auto_install')
-rwxr-xr-x | dh_auto_install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_auto_install b/dh_auto_install index 1b692230..2ca13775 100755 --- a/dh_auto_install +++ b/dh_auto_install @@ -83,7 +83,7 @@ if (!$destdir) { $destdir=tmpdir($dh{MAINPACKAGE}); } } -$destdir = File::Spec->rel2abs($destdir, cwd()); +$destdir = File::Spec->rel2abs($destdir, getcwd()); if (compat(10)) { # Ensure that all debian/<pkg> directories exist |