From c5e6962ef94736de764ec03b71aea9564bbafb8a Mon Sep 17 00:00:00 2001 From: mrjk Date: Thu, 1 Mar 2018 08:37:23 -0500 Subject: [PATCH] Fix: mod_ssh auto_pull missing variable --- lib/idmgr_mod_git.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/idmgr_mod_git.sh b/lib/idmgr_mod_git.sh index 3d1070b..8f5bd5b 100644 --- a/lib/idmgr_mod_git.sh +++ b/lib/idmgr_mod_git.sh @@ -511,7 +511,7 @@ idm_git_pull_most_recent () fi # Apply changes to most recent branch - branch=$( sed -e 's@remotes/@@' -e 's@/@ @' ) + branch=$( sed -e 's@remotes/@@' -e 's@/@ @' <<< "$most_recent" ) lib_git git pull $branch || lib_log ERR "Could not update branch"