generated from me/template-mit
cli, install, only run mkdir if the dir doesn't exist.
This commit is contained in:
1 parent
1bd33a768f
commit
152758e03b
1 file changed
+3
@@ -120,7 +120,10 @@ fi
|
||||
#fi
|
||||
|
||||
for prog in $name; do
|
||||
# fix spaces to tabs
|
||||
if [[ ! -d "$dir" ]]; then
|
||||
mkdir -pv "$dir"
|
||||
fi
|
||||
$cmd "$dir/$prog"
|
||||
done
|
||||
|
||||
|
||||
Reference in new issue
Block a user