From f7a8e01098170d301adefe4b8bab2eff425a8682 Mon Sep 17 00:00:00 2001 From: anulax1225 Date: Thu, 13 Jun 2024 21:38:26 +0200 Subject: [PATCH] Modified setup.sh --- setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 20c23aa..d2509ca 100755 --- a/setup.sh +++ b/setup.sh @@ -14,12 +14,12 @@ mkdir -m 777 ~/.bakasable mkdir ~/.bakasable/cache cp -f ./bin/linux/bakasable ~/.bakasable/ -if [ ! $(witch premake5) ]; then +if [ ! $(which premake5) ]; then cp -f ./bin/linux/premake5 ~/.bakasable/ fi echo Searching path in env PATH -if [ ! $(witch bakasable) ]; then +if [ ! $(which bakasable) ]; then echo Path not found in env PATH echo Adding path echo "export PATH=$PATH:~/.bakasable" >> ~/.bashrc