diff options
author | wxs <wxs@FreeBSD.org> | 2009-09-19 00:00:40 +0800 |
---|---|---|
committer | wxs <wxs@FreeBSD.org> | 2009-09-19 00:00:40 +0800 |
commit | cc617132bbef6dd36a39e7c4787e87b9b729fb0f (patch) | |
tree | 17cbe4accf3745fe659ec537874537883ccb0f94 /ports-mgmt | |
parent | ac1c0f07020096827b01610dc69d284186363f74 (diff) | |
download | freebsd-ports-gnome-cc617132bbef6dd36a39e7c4787e87b9b729fb0f.tar.gz freebsd-ports-gnome-cc617132bbef6dd36a39e7c4787e87b9b729fb0f.tar.zst freebsd-ports-gnome-cc617132bbef6dd36a39e7c4787e87b9b729fb0f.zip |
- Add .bak to the list of files to be deleted in post-patch (the CHECK_FOR_ROOT
option being off would result in tc.bak being installed.
- Move the deletion out of the conditional and remove (now) redundant RM
commands.
Approved by: itetcu (maintainer)
Feature safe: yes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/tinderbox/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ports-mgmt/tinderbox/Makefile b/ports-mgmt/tinderbox/Makefile index 687ae3093724..d09c0d4b09a7 100644 --- a/ports-mgmt/tinderbox/Makefile +++ b/ports-mgmt/tinderbox/Makefile @@ -98,10 +98,8 @@ post-patch: .ifdef WITHOUT_CHECK_FOR_ROOT ${REINPLACE_CMD} -e 's/^if \[ `id -u` != 0 \]; then/if false; then/' \ ${WRKSRC}/tc - @cd ${WRKSRC} && ${FIND} . -name '*.orig' -exec ${RM} {} \; .endif - ${RM} ${WRKSRC}/lib/tc_command.sh.orig - ${RM} ${WRKSRC}/lib/tinderbox.env.orig + @cd ${WRKSRC} && ${FIND} -E . -regex '.*(orig|bak)' -exec ${RM} {} \; do-install: @${MKDIR} ${PREFIX}/tinderbox/scripts |