From 9570461b13d7c237596c2ffa39c5eee8797bc7ec Mon Sep 17 00:00:00 2001 From: Paul Wilde Date: Thu, 23 Nov 2023 12:23:20 +0000 Subject: [PATCH] editing install.sh --- install.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index 1948923..160a149 100755 --- a/install.sh +++ b/install.sh @@ -1,12 +1,4 @@ #!/bin/bash -build () { - i="$1" - cd "./$dir" || exit - nimble install -y - if [[ $i == "install" ]]; then - cp -v "wmtools" "$HOME/.local/bin/wmtools" - fi -} - -build $1 +nimble install -y +cp -v "wmtools" "$HOME/.local/bin/wmtools"