diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-07 23:26:28 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-10-07 23:26:28 +0000 |
commit | 655afac56431facba9e232bf66c481de3994002c (patch) | |
tree | ee5b450487fd5b940b8c6c36031b36ac4b922c6f /Keywords | |
parent | 39bd17c4aba3c49d564a553e85af98caaa3548ee (diff) | |
download | ports-655afac56431facba9e232bf66c481de3994002c.tar.gz ports-655afac56431facba9e232bf66c481de3994002c.zip |
Accept absolute path for @info keyword
Notes
Notes:
svn path=/head/; revision=370410
Diffstat (limited to 'Keywords')
-rw-r--r-- | Keywords/info.ucl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Keywords/info.ucl b/Keywords/info.ucl index b0d4b02ac4a4..956884330786 100644 --- a/Keywords/info.ucl +++ b/Keywords/info.ucl @@ -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 |