summaryrefslogtreecommitdiffstats
path: root/mgagnome
diff options
context:
space:
mode:
authorOlav Vitters <ovitters@mageia.org>2013-08-21 08:52:35 +0000
committerOlav Vitters <ovitters@mageia.org>2013-08-21 08:52:35 +0000
commitc5a9124ff26b3f18e8c3501f6699512ca5c46585 (patch)
treec3a082cc641750a5487cdeef45b08cf78516b0b8 /mgagnome
parent336ba9e4ee34305044ebd4a699a093c1341772b2 (diff)
downloadmgagnome-c5a9124ff26b3f18e8c3501f6699512ca5c46585.tar
mgagnome-c5a9124ff26b3f18e8c3501f6699512ca5c46585.tar.gz
mgagnome-c5a9124ff26b3f18e8c3501f6699512ca5c46585.tar.bz2
mgagnome-c5a9124ff26b3f18e8c3501f6699512ca5c46585.tar.xz
mgagnome-c5a9124ff26b3f18e8c3501f6699512ca5c46585.zip
remove the build directory when checking patches
Diffstat (limited to 'mgagnome')
-rwxr-xr-xmgagnome2
1 files changed, 1 insertions, 1 deletions
diff --git a/mgagnome b/mgagnome
index 3d532a9..018554e 100755
--- a/mgagnome
+++ b/mgagnome
@@ -385,7 +385,7 @@ class SpecFile(object):
try:
# Check patches still apply
- subprocess.check_call(['bm', '-p', '--nodeps'], cwd=self.cwd)
+ subprocess.check_call(['bm', '-p', '--nodeps', '--clean'], cwd=self.cwd)
except subprocess.CalledProcessError:
logfile = os.path.join(os.path.dirname(self.path), 'log.%s' % os.path.splitext(os.path.basename(self.path))[0])
if os.path.exists(logfile):