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