diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-23 13:43:26 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-08-23 13:43:26 +0000 |
commit | fdd0318f3686ad5ca9e3f82933a34ceae5cdf37e (patch) | |
tree | 6478b055ba14b609c610a4abf3259fabd210f13f /security/freebsd-update | |
parent | ddc914d3650a8e38b4e82e93c905cd964fca36db (diff) | |
download | ports-fdd0318f3686ad5ca9e3f82933a34ceae5cdf37e.tar.gz ports-fdd0318f3686ad5ca9e3f82933a34ceae5cdf37e.zip |
[MAINTAINER UPDATE] security/freebsd-update
Call bspatch with a full path; this fixes problems where
people are running freebsd-update with a PATH which doesn't
include /usr/local/bin
PR: ports/55869
Submitted by: Colin Percival <cperciva@daemonology.net>
Notes
Notes:
svn path=/head/; revision=87555
Diffstat (limited to 'security/freebsd-update')
-rw-r--r-- | security/freebsd-update/files/patch-ab-path | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/security/freebsd-update/files/patch-ab-path b/security/freebsd-update/files/patch-ab-path new file mode 100644 index 000000000000..73281e505ea3 --- /dev/null +++ b/security/freebsd-update/files/patch-ab-path @@ -0,0 +1,20 @@ +--- Makefile.orig Sat Mar 22 15:44:03 2003 ++++ Makefile Fri Aug 22 15:58:45 2003 +@@ -14,6 +14,7 @@ + uname -r | cut -f 1 -d '-' ) | lam - - + WORKDIR?=${.CURDIR}/work + MAILTO?=root ++BSPATCH!=which bspatch || echo /usr/local/bin/bspatch + + daily: + @sleep `jot -r 1 0 3600` +@@ -78,7 +79,8 @@ + rmdir ${WORKDIR}/${NUM}/install$$f; \ + ( fetch -qo ${WORKDIR}/${NUM}/$$z-$$y \ + ${FETCHROOT}/$$z-$$y && \ +- bspatch $$f ${WORKDIR}/${NUM}/install$$f.tmp \ ++ ${BSPATCH} $$f \ ++ ${WORKDIR}/${NUM}/install$$f.tmp \ + ${WORKDIR}/${NUM}/$$z-$$y && \ + rm ${WORKDIR}/${NUM}/$$z-$$y ) || \ + touch ${WORKDIR}/${NUM}/install$$f.tmp; \ |