From 0893244dbdb3e2faada5224bf49458b61389ba34 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Tue, 18 Aug 2009 16:04:38 -1000 Subject: Fix updates target to honor KEEP variable correctly. --- Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index 5a5f04730..89800ef25 100644 --- a/Makefile.am +++ b/Makefile.am @@ -136,10 +136,10 @@ install-buildrequires: updates: @opts="-c" ; \ keep="$$(echo $(KEEP) | cut -c1 | tr [a-z] [A-Z])" ; \ - if [ ! "$$keep" = "Y" ]; then \ - opts="${opts} -k" ; \ - fi - scripts/makeupdates ${opts} + if [ "$${keep}" = "Y" ]; then \ + opts="$${opts} -k" ; \ + fi ; \ + scripts/makeupdates $${opts} # DEPRECATED TARGETS: archive-no-tag: dist -- cgit