12 lines
206 B
Bash
12 lines
206 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
for dir in ./*; do
|
||
|
if [ -d $dir ]; then
|
||
|
cd $dir
|
||
|
f=$(echo $dir | sed 's/\.\///')
|
||
|
nimble install -y
|
||
|
sudo cp -v $f /usr/local/bin/$f
|
||
|
cd ../
|
||
|
fi
|
||
|
done
|