If %setup -c then always create and change into the directory.

This commit is contained in:
Chris Johns 2013-03-02 16:06:59 +11:00
parent c096c20d7b
commit a18e76bd85

View File

@ -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.