]> git.donarmstrong.com Git - debhelper.git/commitdiff
unimportant code changes
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 20 Apr 2009 19:16:06 +0000 (15:16 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 20 Apr 2009 19:16:06 +0000 (15:16 -0400)
Debian/Debhelper/Buildsystem.pm

index 78d14e7016fdb5960f59a28838e357768b0ccef6..5bebfe2e2ed5853b86404c1b9ecbd6b5858ff93d 100644 (file)
@@ -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 {