editing install.sh

This commit is contained in:
Paul Wilde 2023-11-23 12:23:20 +00:00
parent bd5b314cf1
commit 9570461b13

View file

@ -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