From 7132455b4efbf2e30c6a5433f1ae2ad553bd2d60 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 15 Jun 2022 15:28:42 -0500 Subject: Luarocks --- profile/luarocks.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'profile') 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 @@ # add luarocks stuff to $PATH -command -v luarocks >/dev/null 2>&1 && - eval $(luarocks path) +if command -v luarocks >/dev/null 2>&1; then + eval "$(luarocks path --bin)" +fi -- cgit 1.4.1-21-gabe81