Fix bootstrap.
authorRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Wed, 4 Feb 2015 14:56:47 +0000 (15:56 +0100)
committerRadek Czajka <radekczajka@nowoczesnapolska.org.pl>
Wed, 4 Feb 2015 14:56:47 +0000 (15:56 +0100)
bootstrap.sh

index 0059599..ffee400 100644 (file)
@@ -89,7 +89,7 @@ echo -e "${strong}Downloading project template...${normal}"
 if [[ "$FNP_PROJECT_TEMPLATE" =~ ^(https?|ftp):// ]]; then
     local PROJECT_TMPDIR=`mktemp -d fnp-django-template-XXX`
     curl "$FNP_PROJECT_TEMPLATE" | tar xzf - -C "$PROJECT_TMPDIR"
 if [[ "$FNP_PROJECT_TEMPLATE" =~ ^(https?|ftp):// ]]; then
     local PROJECT_TMPDIR=`mktemp -d fnp-django-template-XXX`
     curl "$FNP_PROJECT_TEMPLATE" | tar xzf - -C "$PROJECT_TMPDIR"
-    local TEMPLATE="$PROJECT_TMPDIR"/fnp-django-template-*/src
+    local TEMPLATE=("$PROJECT_TMPDIR"/fnp-django-template-*/src)
 else
     local TEMPLATE="$FNP_PROJECT_TEMPLATE"
 fi
 else
     local TEMPLATE="$FNP_PROJECT_TEMPLATE"
 fi