]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Fix for ./make.sh build -s ... option.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 5 Apr 2010 15:21:50 +0000 (17:21 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 5 Apr 2010 15:21:50 +0000 (17:21 +0200)
naoki/__init__.py

index 35b64d4682eeddb09faae30ab86e9e6ec76841d6..55b85742179779df192a8b410cc81fc9defcf7b9 100644 (file)
@@ -124,11 +124,12 @@ class Naoki(object):
                                self.log.error("You need to build or download a toolchain first.")
                                continue
 
-                       environ.init()
-
                        if args.shell:
+                               environ.init(clean=False)
                                return environ.shell([])
 
+                       environ.init()
+
                        environ.build()
 
        def call_package(self, args):