Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2019 10:41:50 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509900 - head/Keywords
Message-ID:  <201908261041.x7QAfoTh075375@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Aug 26 10:41:50 2019
New Revision: 509900
URL: https://svnweb.freebsd.org/changeset/ports/509900

Log:
  Make the @rmtry keyword rootdir friendly

Modified:
  head/Keywords/rmtry.ucl

Modified: head/Keywords/rmtry.ucl
==============================================================================
--- head/Keywords/rmtry.ucl	Mon Aug 26 10:37:55 2019	(r509899)
+++ head/Keywords/rmtry.ucl	Mon Aug 26 10:41:50 2019	(r509900)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908261041.x7QAfoTh075375>