aboutsummaryrefslogtreecommitdiff
path: root/Keywords
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2019-08-26 10:41:50 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2019-08-26 10:41:50 +0000
commitb4cb0ac2a816bcd726b26b6ee2892dd4489bd89e (patch)
tree57b78eed2969aa60060ac0c8213195ccc70f6ad8 /Keywords
parent397ec52f461bd6c48541f7d41e121f9814754063 (diff)
downloadports-b4cb0ac2a816bcd726b26b6ee2892dd4489bd89e.tar.gz
ports-b4cb0ac2a816bcd726b26b6ee2892dd4489bd89e.zip
Make the @rmtry keyword rootdir friendly
Notes
Notes: svn path=/head/; revision=509900
Diffstat (limited to 'Keywords')
-rw-r--r--Keywords/rmtry.ucl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Keywords/rmtry.ucl b/Keywords/rmtry.ucl
index deddce913c9f..93b27db4449c 100644
--- a/Keywords/rmtry.ucl
+++ b/Keywords/rmtry.ucl
@@ -7,5 +7,5 @@ post-deinstall: <<EOD
/*) f="%@" ;;
*) f="%D/%@" ;;
esac
- /bin/rm -f $f 2>/dev/null || /usr/bin/true
+ /bin/rm -f ${PKG_ROOTDIR}/$f 2>/dev/null || /usr/bin/true
EOD