[Exherbo-dev] [RFC/PATCH 1/1] sydbox: add esandbox exec for sydbox-1

Ali Polatel alip at exherbo.org
Sat Oct 6 14:09:48 UTC 2012


Oops, I forgot about sydbox-0, fixed patch follows.
Blame pipping!

On Sat, Oct 06, 2012 at 04:58:06PM +0300, Ali Polatel wrote:
>---
> paludis/repositories/e/ebuild/sydbox.bash | 4 ++++
> 1 file changed, 4 insertions(+)
>
>diff --git a/paludis/repositories/e/ebuild/sydbox.bash b/paludis/repositories/e/ebuild/sydbox.bash
>index 7628e65..85dc321 100644
>--- a/paludis/repositories/e/ebuild/sydbox.bash
>+++ b/paludis/repositories/e/ebuild/sydbox.bash
>@@ -223,6 +223,10 @@ esandbox_1()
>         [[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
>         sydbox_internal_net_1 "filter/network" '-' "${@}"
>         ;;
>+    exec)
>+        [[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
>+        [[ -e "$(sydfmt exec ${@})" ]]
>+        ;;
>     kill)
>         [[ ${#} < 1 ]] && die "${FUNCNAME} ${cmd} takes at least one extra argument"
>         sydbox_internal_path_1 "exec/kill_if_match" "+" "${@}"
>-- 
>1.7.12.1
>



More information about the Exherbo-dev mailing list