aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2008-06-16 09:15:27 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2008-06-16 09:15:27 +0000
commit7fc2d1dfc03c5758a3d3791b3104856786cb60f5 (patch)
treead1a4595ebe615ed5b1b4e04ce0fcf87c1e91707 /usr.sbin/pkg_install
parent482ff7856090c7ec627161d769b389aeb24901b5 (diff)
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.sbin/pkg_install/Makefile b/usr.sbin/pkg_install/Makefile
index eabb3ffa87d2..bf1a2135cc79 100644
--- a/usr.sbin/pkg_install/Makefile
+++ b/usr.sbin/pkg_install/Makefile
@@ -6,19 +6,15 @@ SUBDIR= lib add create delete info updating version
.include <bsd.subdir.mk>
-CP= /bin/cp
-RM= /bin/rm
-TAR= /usr/bin/tar
-
DATE!= grep PKG_INSTALL_VERSION ${.CURDIR}/lib/lib.h | sed 's|.*[ ]||'
distfile: clean
@(cd ${.CURDIR}/..; \
- ${CP} -r pkg_install pkg_install-${DATE}; \
- ${TAR} -czf pkg_install/pkg_install-${DATE}.tar.gz \
+ cp -r pkg_install pkg_install-${DATE}; \
+ tar -czf pkg_install/pkg_install-${DATE}.tar.gz \
--exclude .#* --exclude *~ --exclude CVS \
--exclude .svn --exclude pkg_install-*.tar.gz \
pkg_install-${DATE}; \
- ${RM} -rf pkg_install-${DATE})
+ rm -rf pkg_install-${DATE})