experimental erlang driver

This commit is contained in:
Doug MacEachern committed 2009-06-14 21:29:08 -07:00
1 parent 0cecd10a4d
commit 22c0d9e356
17 files changed
+858 -1

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
#copied from jungerl
if [ "$1" == "-root" -o "$1" == "" ]; then
erl -noinput -eval 'io:format("~s~n", [code:root_dir()]), halt(0).'
fi
if [ "$1" == "-ei" -o "$1" == "" ]; then
erl -noinput -eval \
'case code:lib_dir("erl_interface") of
{error, bad_name} ->
io:format("not found~n", []),
halt(1);
LibDir ->
io:format("~s~n", [LibDir]),
halt(0)
end.'
fi