12 lines
186 B
Bash
Executable file
12 lines
186 B
Bash
Executable file
#!/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
|