1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Accept absolute path for @info keyword

This commit is contained in:
Baptiste Daroussin 2014-10-07 23:26:28 +00:00
parent 39bd17c4ab
commit 655afac564
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370410

View File

@ -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