From 57a55f8f7ba745f3b47ebd516cebd2113c01f410 Mon Sep 17 00:00:00 2001 From: AhmedKaram <52092726+Adamkaram@users.noreply.github.com> Date: Sun, 8 Dec 2024 21:00:37 +0200 Subject: [PATCH] Update dev to Fix installation script for LuaRocks to ensure correct directory navigation The original installation script had an issue where the `cd` command was not specifying the correct directory after extracting the LuaRocks archive. This caused the `./configure` step to fail. This change ensures the script correctly navigates to the extracted directory before running the installation commands. Now, the script explicitly changes to the correct directory `/tmp/luarocks-3.11.0` before executing `./configure && make && sudo make install`. --- runs/dev | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runs/dev b/runs/dev index 5de4074..eae84ff 100755 --- a/runs/dev +++ b/runs/dev @@ -10,10 +10,10 @@ cargo install stylua # luarocks pushd /tmp/luarocks-3.11.0 ( - wget --output-document /tmp/luarocks.tar.gz https://luarocks.org/releases/luarocks-3.11.0.tar.gz - tar zxpf /tmp/luarocks.tar.gz -C /tmp - cd - ./configure && make && sudo make install + wget --output-document /tmp/luarocks.tar.gz https://luarocks.org/releases/luarocks-3.11.0.tar.gz +tar zxpf /tmp/luarocks.tar.gz -C /tmp +cd /tmp/luarocks-3.11.0 +./configure && make && sudo make install ) popd