Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2014 23:26:28 +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: r370410 - head/Keywords
Message-ID:  <201410072326.s97NQSC3084429@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Tue Oct  7 23:26:28 2014
New Revision: 370410
URL: https://svnweb.freebsd.org/changeset/ports/370410
QAT: https://qat.redports.org/buildarchive/r370410/

Log:
  Accept absolute path for @info keyword

Modified:
  head/Keywords/info.ucl

Modified: head/Keywords/info.ucl
==============================================================================
--- head/Keywords/info.ucl	Tue Oct  7 23:26:11 2014	(r370409)
+++ head/Keywords/info.ucl	Tue Oct  7 23:26:28 2014	(r370410)
@@ -4,10 +4,16 @@
 
 actions: [file]
 post-install: <<EOD
-  file=%D/%@
+  case "%@" in
+  /*) file="%@" ;;
+   *) file="%D/%@" ;;
+  esac
   indexinfo ${file%/*}
 EOD
 post-deinstall: <<EOD
-  file=%D/%@
+  case "%@" in
+  /*) file="%@" ;;
+   *) file="%D/%@" ;;
+  esac
   indexinfo ${file%/*}
 EOD



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