From a18e76bd855d00c7920ddbcd861aa324dd991c29 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sat, 2 Mar 2013 16:06:59 +1100 Subject: [PATCH] If %setup -c then always create and change into the directory. --- source-builder/sb/build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source-builder/sb/build.py b/source-builder/sb/build.py index dda85dc..52da459 100644 --- a/source-builder/sb/build.py +++ b/source-builder/sb/build.py @@ -325,7 +325,7 @@ class build: # # If -a? then change directory before unpacking. # - if not unpack_before_chdir and create_dir: + if not unpack_before_chdir or create_dir: self.script.append(self.config.expand('cd ' + name)) # # Unpacking the source. Note, treated the same as -a0.