[Pkg-ocaml-maint-commits] [ocaml] 01/01: d/rules: configure: don't fail mkdir if the directory already exists

Ximin Luo infinity0 at debian.org
Wed Sep 28 19:41:09 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository ocaml.

commit 453dd1570a3a44f1c4b240a5cfa3f100003c871e
Author: Ximin Luo <infinity0 at debian.org>
Date:   Wed Sep 28 21:40:44 2016 +0200

    d/rules: configure: don't fail mkdir if the directory already exists
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a1e56b3..dfeda5a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml.git



More information about the Pkg-ocaml-maint-commits mailing list