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

Ali Polatel alip at exherbo.org
Sat Oct 6 13:58:06 UTC 2012


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