diff options
-rw-r--r-- | profile/luarocks.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/profile/luarocks.sh b/profile/luarocks.sh index 315c0b7..547a94d 100644 --- a/profile/luarocks.sh +++ b/profile/luarocks.sh | |||
@@ -1,4 +1,5 @@ | |||
1 | # add luarocks stuff to $PATH | 1 | # add luarocks stuff to $PATH |
2 | 2 | ||
3 | command -v luarocks >/dev/null 2>&1 && | 3 | if command -v luarocks >/dev/null 2>&1; then |
4 | eval $(luarocks path) | 4 | eval "$(luarocks path --bin)" |
5 | fi | ||