diff options
author | William Hubbs <williamh@gentoo.org> | 2018-05-26 15:16:59 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2018-05-26 15:16:59 -0500 |
commit | d56d1e147b23e972036fa9f6727bb2a675154435 (patch) | |
tree | 1deff5d85dcc778f7b19152c97065f2690f61c2c /Makefile | |
parent | makefile: ignore touch failures for .keep files (diff) | |
download | baselayout-d56d1e147b23e972036fa9f6727bb2a675154435.tar.gz baselayout-d56d1e147b23e972036fa9f6727bb2a675154435.tar.bz2 baselayout-d56d1e147b23e972036fa9f6727bb2a675154435.zip |
Makefile: do not touch .keep file if it already exists
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -65,6 +65,7 @@ install: layout-dirs: # Create base filesytem layout for x in $(KEEP_DIRS) ; do \ + test -e $(DESTDIR)$$x/.keep && continue ; \ $(INSTALL_DIR) $(DESTDIR)$$x || exit $$? ; \ touch $(DESTDIR)$$x/.keep || echo "ignoring touch failure; mounted fs?" ; \ done |