summaryrefslogtreecommitdiff
path: root/coreconf/nsinstall
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2020-05-05 12:28:36 +0000
committerJan-Marek Glogowski <glogow@fbihome.de>2020-05-05 12:28:36 +0000
commite41bdc85df87fec3dbdce52568d217ae0d58127c (patch)
treee246d56f61bd1c1520cd0ad3b132442d44c48dad /coreconf/nsinstall
parent34cad02bea04fbfcbe57f4513426af1eaa4862b5 (diff)
downloadnss-hg-e41bdc85df87fec3dbdce52568d217ae0d58127c.tar.gz
Bug 290526 Don't delete directories r=rrelyea
If these files exist and aren't directories, there might be other problems. Trying to "fix" them by removing will break the build. Differential Revision: https://phabricator.services.mozilla.com/D69018
Diffstat (limited to 'coreconf/nsinstall')
-rw-r--r--coreconf/nsinstall/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreconf/nsinstall/Makefile b/coreconf/nsinstall/Makefile
index 1850bcb93..50128eded 100644
--- a/coreconf/nsinstall/Makefile
+++ b/coreconf/nsinstall/Makefile
@@ -37,6 +37,6 @@ include $(DEPTH)/coreconf/rules.mk
# Redefine MAKE_OBJDIR for just this directory
define MAKE_OBJDIR
-if test ! -d $(@D); then rm -rf $(@D); mkdir $(@D); fi
+if test ! -d $(@D); then mkdir -p $(@D); fi
endef