Re: sh: getting <category>/<portname> from pwd
- In reply to: Nuno Teixeira : "sh: getting <category>/<portname> from pwd"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 26 Oct 2022 03:12:14 UTC
Hello. Nuno Teixeira wrote on 2022/10/26 07:14: > I'm writing a shell script to feed poudriere testports and I need to get Is it a hook script that installs in /usr/local/etc/poudriere.d/hooks/? If so, I think it would be helpful to see the results of a grep like the following. grep -r -n -e 'run_hook ' /usr/local/share/poudriere/ There are several things that origin can get from its arguments. If the hook is after the package build is complete, there may be a way to pick it up with /somewhere-localbase/bin/pkg query -F /somewhere/All/pkg-1.18.x.pkg %o In the meantime, this is just an email to increase the possible ways of it :) Regards.