summaryrefslogtreecommitdiff
path: root/redir_scripts
diff options
context:
space:
mode:
authorLauri Leukkunen <lleukkun@leka.rahina.org>2006-08-06 10:26:57 +0300
committerLauri Leukkunen <lleukkun@leka.rahina.org>2006-08-06 10:26:57 +0300
commitd9b5f97dade62f569dfcfc85c56304d1deb775de (patch)
tree0e05b48f6549d3a48862e5bf6aad6ec37b1eb3b6 /redir_scripts
parentf111586afcec8f11f626bd0615c6ef44cdf3189a (diff)
install redir_scripts/main.lua too
Diffstat (limited to 'redir_scripts')
-rw-r--r--redir_scripts/main.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/redir_scripts/main.lua b/redir_scripts/main.lua
index 7b955ae..cc8293b 100644
--- a/redir_scripts/main.lua
+++ b/redir_scripts/main.lua
@@ -92,16 +92,16 @@ function sbox_translate_path(binary_name, func_name, work_dir, path)
end
tmp = sb.sb_followsymlink(ret)
- print("tmp vs. ret: " .. tmp .. " vs. " .. ret)
+-- print("tmp vs. ret: " .. tmp .. " vs. " .. ret)
if (string.find(tmp, ret, 1, true) == 1) then
- print("complete: " .. tmp)
+-- print("complete: " .. tmp)
return ret
else
if (string.find(tmp, "/") ~= 1) then
-- relative symlink, track from dir
tmp = dir .. "/" .. tmp
end
- print("recurse! " .. tmp)
+-- print("recurse! " .. tmp)
-- tail recurse until no more symlinks
return sbox_translate_path(binary_name, func_name, work_dir, tmp)
end