summaryrefslogtreecommitdiff
path: root/app/xedit
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2010-05-30 20:57:55 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2010-05-30 20:57:55 +0000
commit8be17a7e80899ae77b7df0c0defbb228cc06b3d8 (patch)
treededeb70131a9645efa9ad1789ae746ff7da42e5c /app/xedit
parent4174b67557d9f48ff51764a2e9126641627274b4 (diff)
Fix races in the creation of the app-defaults directory. from espie@
Diffstat (limited to 'app/xedit')
-rw-r--r--app/xedit/Makefile.am6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/xedit/Makefile.am b/app/xedit/Makefile.am
index 1a327980d..4222b7705 100644
--- a/app/xedit/Makefile.am
+++ b/app/xedit/Makefile.am
@@ -169,18 +169,18 @@ APPDEFAULTFILES = \
if USE_XPRINT
app-defaults/Xedit.ad:
- test -d app-defaults || mkdir app-defaults
+ test -d app-defaults || mkdir -p app-defaults
cp $(top_srcdir)/app-defaults/Xedit-xprint.ad app-defaults/Xedit.ad
else
app-defaults/Xedit.ad:
- test -d app-defaults || mkdir app-defaults
+ test -d app-defaults || mkdir -p app-defaults
cp $(top_srcdir)/app-defaults/Xedit-noxprint.ad app-defaults/Xedit.ad
endif
SUFFIXES = .ad
.ad:
- test -d app-defaults || mkdir app-defaults
+ test -d app-defaults || mkdir -p app-defaults
cp $< $@
appdefaultdir = @appdefaultdir@