wmtools/compile_urrl.sh

17 lines
326 B
Bash
Raw Normal View History

#!/bin/bash
for dir in ./*; do
if [ -d $dir ]; then
2022-07-17 21:04:49 +02:00
if [[ $dir == "./" ]]; then
continue
fi
cd $dir
f=$(echo $dir | sed 's/\.\///')
nimble install -y
if [[ $1 == "install" ]]; then
sudo cp -v $f /usr/local/bin/$f
fi
cd ../
fi
done