summaryrefslogtreecommitdiff
path: root/app/ssh-askpass/Makefile
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-03-19 20:31:10 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-03-19 20:31:10 +0000
commit56f35cc7d3c57a4da301470ca675766995dd9b2c (patch)
tree8f3f656df720d57ffab1110278c3b935b4bd18ed /app/ssh-askpass/Makefile
parent3e0bea1b90951a510bc5e72632527223c49e390a (diff)
Remove a useless use of cat pointed by espie@ some time ago.
Diffstat (limited to 'app/ssh-askpass/Makefile')
-rw-r--r--app/ssh-askpass/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/ssh-askpass/Makefile b/app/ssh-askpass/Makefile
index c3bcffe47..6251247e9 100644
--- a/app/ssh-askpass/Makefile
+++ b/app/ssh-askpass/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2008/02/22 11:35:22 oga Exp $
+# $OpenBSD: Makefile,v 1.9 2008/03/19 20:31:09 matthieu Exp $
.include <bsd.own.mk>
X11BASE?= /usr/X11R6
@@ -21,7 +21,7 @@ ssh-askpass.1: x11-ssh-askpass.man.in
-e 's#@DATE@#$(DATE)#g' < $(.CURDIR)/x11-ssh-askpass.man.in > $@
$(CLASS)_ad.h: $(CLASS).ad
- cat $(CLASS).ad | grep -v '^[ ]*$$' |\
+ grep -v '^[ ]*$$' $(CLASS).ad |\
awk '/^[ ]*!/ { sub("^[ ]*![ ]?","", $$0); printf("/* %s */\n", $$0); next } ! /^[ ]*!/ { printf("\"%s\",\n", $$0) }' \
>$@