summaryrefslogtreecommitdiffstats
path: root/sys/modules/if_ppp
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-08-14 13:28:53 +0000
committerdes <des@FreeBSD.org>2006-08-14 13:28:53 +0000
commitb21e8d833ba2e71f643b6457ab29e1857aaa51f3 (patch)
tree1e71be6b57099620ee5d40dccf4353f18eac3e0b /sys/modules/if_ppp
parent09aff4db4238a70852dd1e443af89c1a7b42e138 (diff)
downloadFreeBSD-src-b21e8d833ba2e71f643b6457ab29e1857aaa51f3.zip
FreeBSD-src-b21e8d833ba2e71f643b6457ab29e1857aaa51f3.tar.gz
Don't use touch when what is really meant is :> (create an empty file, or
truncate it if it exists) or :>> (ensure the file exists, but don't change it if it already does) Reviewed by: ru MFC after: 2 weeks
Diffstat (limited to 'sys/modules/if_ppp')
-rw-r--r--sys/modules/if_ppp/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile
index 1be2e02..5ba5039 100644
--- a/sys/modules/if_ppp/Makefile
+++ b/sys/modules/if_ppp/Makefile
@@ -22,16 +22,16 @@ SRCS+= ppp_deflate.c
.if !defined(KERNBUILDDIR)
.if ${PPP_INET} > 0
opt_inet.h:
- echo "#define INET 1" >> ${.TARGET}
+ echo "#define INET 1" > ${.TARGET}
.endif
.if ${PPP_IPX} > 0
opt_ipx.h:
- echo "#define IPX ${PPP_IPX}" >> ${.TARGET}
+ echo "#define IPX ${PPP_IPX}" > ${.TARGET}
.endif
opt_ppp.h:
- touch ${.TARGET}
+ :> ${.TARGET}
.if ${PPP_BSDCOMP} > 0
echo "#define PPP_BSDCOMP ${PPP_BSDCOMP}" >> ${.TARGET}
.endif
OpenPOWER on IntegriCloud