summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem.pm
diff options
context:
space:
mode:
authorModestas Vainius <modestas@vainius.eu>2009-06-29 19:34:05 +0300
committerModestas Vainius <modestas@vainius.eu>2009-06-30 00:53:07 +0300
commit4769644604ccd4a49ca242e3461fffdc37927f1d (patch)
tree3198400ffb5e71493f888ec4d1e45d5645d00713 /Debian/Debhelper/Buildsystem.pm
parentc8ad61cdba0348c1d1ea1000b99ba83496b71bf1 (diff)
Rename _canonpath to canonpath.
Signed-off-by: Modestas Vainius <modestas@vainius.eu>
Diffstat (limited to 'Debian/Debhelper/Buildsystem.pm')
-rw-r--r--Debian/Debhelper/Buildsystem.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm
index e2037b5f..8fcb97e6 100644
--- a/Debian/Debhelper/Buildsystem.pm
+++ b/Debian/Debhelper/Buildsystem.pm
@@ -84,7 +84,7 @@ sub _set_builddir {
# Canonicalize. If build directory ends up the same as source directory, drop it
if (defined $this->{builddir}) {
- $this->{builddir} = $this->_canonpath($this->{builddir});
+ $this->{builddir} = $this->canonpath($this->{builddir});
if ($this->{builddir} eq $this->get_sourcedir()) {
$this->{builddir} = undef;
}
@@ -149,7 +149,7 @@ sub enforce_out_of_source_building {
# Enhanced version of File::Spec::canonpath. It collapses ..
# too so it may return invalid path if symlinks are involved.
# On the other hand, it does not need for the path to exist.
-sub _canonpath {
+sub canonpath {
my ($this, $path)=@_;
my @canon;
my $back=0;