summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-10-17 08:48:44 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-10-17 08:48:44 +0000
commit3cec7b986b5fd11c24697080b58efe4f0c4c930d (patch)
tree309ae3082f0fd9947a7169dbaf6e3ee3320c2344 /Makefile
parent43726be15e591210fd7b8b4c483bb7f12de5d15e (diff)
if the directory is empty, the mv will fail.
But we don't really care, because the real test for success is the rmdir. okay matthieu@
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 02a259954..af5965aa2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.47 2012/08/18 10:38:39 espie Exp $
+# $OpenBSD: Makefile,v 1.48 2012/10/17 08:48:43 espie Exp $
.include <bsd.own.mk>
.include <bsd.xconf.mk>
@@ -60,7 +60,7 @@ fix-appd:
# Make sure /usr/local/lib/X11/app-defaults is a link
if [ ! -L $(DESTDIR)${LOCALAPPD} ]; then \
if [ -d $(DESTDIR)${LOCALAPPD} ]; then \
- mv $(DESTDIR)${LOCALAPPD}/* $(DESTDIR)${REALAPPD}; \
+ mv $(DESTDIR)${LOCALAPPD}/* $(DESTDIR)${REALAPPD} || true; \
rmdir $(DESTDIR)${LOCALAPPD}; \
fi; \
mkdir -p ${DESTDIR}${LOCALAPPX}; \