ruby on rails - capistrano output - what are [ -L ...] commands? -
i have rails 4 app deployed capistrano. in output there bunch of commands running not understand @ all. i'm trying figure out why of them fail, real problem don't know doing @ all.
here typical example:
debug [8020adb4] running /usr/bin/env [ -l ~/apps/spo/releases/20160205133156/public/assets ] spo@dev.platform.spisales.com debug [8020adb4] command: [ -l ~/apps/spo/releases/20160205133156/public/assets ] debug [8020adb4] finished in 0.013 seconds exit status 1 (failed).
i know /usr/bin/env run program, have no idea part trying do: [ -l ~apps/spo/releases/20160205133156/public/assets ]
something this: /usr/bin/env mkdir
easy understand, running mkdir.
if can explain these [ -l ...]
commands doing appreciate it!
the square brackets alternative syntax test
command.
which test run depends on expression give, in case checks whether ~/apps/spo/releases/20160205133156/public/assets
exists , symbolic link.
from man test
:
-l file file exists , symbolic link (same -h)
Comments
Post a Comment