d/rules: configure: don't fail mkdir if the directory already exists
authorXimin Luo <infinity0@debian.org>
Wed, 28 Sep 2016 19:40:44 +0000 (21:40 +0200)
committerXimin Luo <infinity0@debian.org>
Wed, 28 Sep 2016 19:40:44 +0000 (21:40 +0200)
debian/rules

index a1e56b3f3fcd64fe38c0cb8be63fff46ef91eb5b..dfeda5ad4b4aa436d74c7bc173de711d74e77182 100755 (executable)
@@ -106,7 +106,7 @@ pre-config-stamp: $(TARBALL_TARGET)
 
 ifneq (,$(TARBALL_TARGET))
 $(TARBALL_TARGET): $(UPSTREAM_TARBALL)
-       mkdir debian/$(DISTDIR)
+       mkdir -p debian/$(DISTDIR)
 # Copy upstream tarball
        cp $< debian/$(DISTDIR)
 # Copy debian/patches