[PATCH 3/4] Fix updates target to honor KEEP variable correctly.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 5a5f047..89800ef 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
-- 
1.6.2.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux