From: Radek Czajka Date: Wed, 4 Feb 2015 14:56:47 +0000 (+0100) Subject: Fix bootstrap. X-Git-Url: https://git.mdrn.pl/fnp-django-template.git/commitdiff_plain/12db9a6a828b15464d3d3c6f0a1ac0892acfbe76?ds=inline Fix bootstrap. --- diff --git a/bootstrap.sh b/bootstrap.sh index 0059599..ffee400 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -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" - local TEMPLATE="$PROJECT_TMPDIR"/fnp-django-template-*/src + local TEMPLATE=("$PROJECT_TMPDIR"/fnp-django-template-*/src) else local TEMPLATE="$FNP_PROJECT_TEMPLATE" fi