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"