spaces proof for path in install.sh

pull/953/head
Shingo Kitagawa 2017-05-02 00:39:28 +09:00
parent e275c62767
commit 77dd5c8355
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ function load_one() {
function load_some() {
file_type=$1
[ -d "$BASH_IT/$file_type/enabled" ] || mkdir "$BASH_IT/$file_type/enabled"
for path in `ls $BASH_IT/${file_type}/available/[^_]*`
for path in `ls "$BASH_IT/${file_type}/available/"[^_]*`
do
file_name=$(basename "$path")
while true