From 96800f82e9f09e1da02efa5018cb71ac8f4645cd Mon Sep 17 00:00:00 2001 From: Beth Parker Date: Wed, 29 Jul 2020 22:08:29 -0500 Subject: [PATCH] Last laradev fix --- states/roles/maintain/laradev/git_branches.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/states/roles/maintain/laradev/git_branches.sh b/states/roles/maintain/laradev/git_branches.sh index 1405c0d..0f98bac 100644 --- a/states/roles/maintain/laradev/git_branches.sh +++ b/states/roles/maintain/laradev/git_branches.sh @@ -7,7 +7,7 @@ cd "/sites/{{project}}" branches=`git ls-remote {{repo}} | grep -o -P "(?<=refs/heads/).*"` echo "Branches:
" > /sites/{{project}}/index.php for branch in $branches; do -echo " $branch
" >> /sites/{{project}}/index.php +echo "
$branch
" >> /sites/{{project}}/index.php #clone new branch if necessary if [ ! -d "$branch" ];then git clone -b $branch {{repo}} "$branch"