]> git.donarmstrong.com Git - debhelper.git/commitdiff
relocate comment inside if
authorJoey Hess <joey@gnu.kitenet.net>
Sat, 18 Jul 2009 11:30:32 +0000 (13:30 +0200)
committerJoey Hess <joey@gnu.kitenet.net>
Sat, 18 Jul 2009 11:30:32 +0000 (13:30 +0200)
Debian/Debhelper/Buildsystem/python_distutils.pm

index cca000d6f5f616881a4d390ffe7e151f1154f6f6..a5b27d6dfbe9743931176bd9ae4bfc3cee9e54e7 100644 (file)
@@ -61,12 +61,12 @@ sub pre_building_step {
 
        return unless grep /$step/, qw(build install clean);
 
-       # --build-base can only be passed to the build command. However,
-       # it is always read from the config file (really weird design).
-       # Therefore create such a cfg config file.
-       # See http://bugs.python.org/issue818201
-       #     http://bugs.python.org/issue1011113
        if ($this->get_buildpath() ne $this->DEFAULT_BUILD_DIRECTORY()) {
+               # --build-base can only be passed to the build command. However,
+               # it is always read from the config file (really weird design).
+               # Therefore create such a cfg config file.
+               # See http://bugs.python.org/issue818201
+               #     http://bugs.python.org/issue1011113
                not $this->not_our_cfg() or
                    error("cannot set custom build directory: .pydistutils.cfg is in use");
                $this->mkdir_builddir();