FIX: Make sure we're checking against a string.

This commit is contained in:
Guo Xiang Tan 2016-08-04 18:09:56 +08:00
parent 06310c73c1
commit 2ec550f746
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ find_templates() {
local arrTemplates=${templates// / }
if [ ! -z $templates ]; then
if [ ! -z "$templates" ]; then
for template in "${arrTemplates[@]}"
do
local nested_templates=$(find_templates $template)