From: Michael Tremer Date: Fri, 21 Aug 2015 08:52:43 +0000 (+0100) Subject: dma: Fix rebuild if directory already exists X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=701984cab3fb4f892e00215abdff17e757cbe8c0;p=people%2Fms%2Fipfire-2.x.git dma: Fix rebuild if directory already exists Signed-off-by: Michael Tremer --- diff --git a/lfs/dma b/lfs/dma index bca3f08946..4e6150e8a0 100644 --- a/lfs/dma +++ b/lfs/dma @@ -73,7 +73,7 @@ $(subst %,%_MD5,$(objects)) : $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE) - mkdir /var/ipfire/dma + mkdir -pv /var/ipfire/dma cd $(DIR_APP) && sed -i '/PREFIX/s/usr\/local/usr/g' Makefile cd $(DIR_APP) && sed -i '/CONFDIR/s/etc\/dma/var\/ipfire\/dma/g' Makefile cd $(DIR_APP) && make