From 0f0e1958b7a71c6323703bbe6415f2f333555f88 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 Apr 2009 15:16:06 -0400 Subject: unimportant code changes --- Debian/Debhelper/Buildsystem.pm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm index 78d14e70..5bebfe2e 100644 --- a/Debian/Debhelper/Buildsystem.pm +++ b/Debian/Debhelper/Buildsystem.pm @@ -32,7 +32,7 @@ sub NAME { # Description of the build system to be shown to the users. sub DESCRIPTION { - "basic debhelper build system class (please provide description)"; + error("class lacking a DESCRIPTION"); } # Default build directory. Can be overriden in the derived @@ -160,14 +160,6 @@ sub get_rel2builddir_path { return $path; } -sub _cd { - my ($this, $dir)=@_; - if (! $dh{NO_ACT}) { - verbose_print("cd $dir"); - chdir $dir or error("error: unable to chdir to $dir"); - } -} - # Creates a build directory. sub mkdir_builddir { my $this=shift; @@ -176,6 +168,14 @@ sub mkdir_builddir { } } +sub _cd { + my ($this, $dir)=@_; + if (! $dh{NO_ACT}) { + verbose_print("cd $dir"); + chdir $dir or error("error: unable to chdir to $dir"); + } +} + # Changes working directory the build directory (if needed), calls doit(@_) # and changes working directory back to the source directory. sub doit_in_builddir { -- cgit v1.2.3