summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorManuel Messner2018-02-20 12:48:36 +0100
committerManuel Messner2018-02-20 12:57:31 +0100
commit1b4e3a658a525ed882a0a960f793de63fad27f6b (patch)
tree2ac906804557026912cda16ebad3fa61a247f17f /Makefile
parentMakefile: clean_bases: move bracket style to lisp style (diff)
downloadpacker-templates-1b4e3a658a525ed882a0a960f793de63fad27f6b.tar.gz
packer-templates-1b4e3a658a525ed882a0a960f793de63fad27f6b.tar.xz
packer-templates-1b4e3a658a525ed882a0a960f793de63fad27f6b.zip
Makefile: clean_except_last: move bracket style to lisp style
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 282aa28..cf64a4e 100644
--- a/Makefile
+++ b/Makefile
@@ -156,9 +156,7 @@ clean_except_last:
find $(template)/* -maxdepth 0 -type d \
-not -name base \
-not -wholename $(template)/$$(readlink $(template)/$(flavor).latest) \
- -print0 | xargs -0 rm -rf \
- );\
- )
+ -print0 | xargs -0 rm -rf);)
clean_bases:
@-$(foreach template,$(TEMPLATES),\