lenskit / lenskit-hello

Hello World for LensKit.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sh or bash to run?

nlw0 opened this issue · comments

I tried to run the program like the README file says, using /bin/sh, but got a syntax error. It seems to work after I tried bash instead...

nlw@kvelertak:~/src/lenskit-hello$ /bin/sh build/install/lenskit-hello/bin/lenskit-hello 72
build/install/lenskit-hello/bin/lenskit-hello: 158: build/install/lenskit-hello/bin/lenskit-hello: Syntax error: "(" unexpected
nlw@kvelertak:~/src/lenskit-hello$ bash build/install/lenskit-hello/bin/lenskit-hello 72
INFO  o.l.d.d.f.TextEntitySource - loading text file source ratings to read from file:/home/nlw/src/lenskit-hello/data/ratings.csv
INFO  o.l.d.d.f.TextEntitySource - loading text file source items to read from file:/home/nlw/src/lenskit-hello/data/movies.csv
INFO  o.l.d.d.f.TextEntitySource - loading text file source tags to read from file:/home/nlw/src/lenskit-hello/data/tags.csv
(...)

Evidently it should be bash - thanks!