summaryrefslogtreecommitdiff
path: root/template/ruby-lldb.in
blob: c33603b94d2e42fdceae2e2cd476a91c9b2c08cf (plain)
1
2
3
4
5
6
#!/bin/sh
prefix="/${0%/*}"
prefix="${prefix%/*}"
ruby="${bindir}/${RUBY_INSTALL_NAME}"
lldbinit="${rubylibdir}/lldb_cruby.py"
exec lldb -O "command script import $lldbinit" "$ruby" -- "$@"