Skip to content

Commit

Permalink
reponame fix1
Browse files Browse the repository at this point in the history
  • Loading branch information
isaaguilar committed Oct 26, 2023
1 parent ad6f984 commit 0ae0ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if [[ ! -s "$TFO_MAIN_MODULE_ADDONS/inline-module.tf" ]]; then
if [ $exit_code -ne 0 ]; then
exit $exit_code
fi
reponame=$(sed -n "s/.*'\([^']*\)'.*/\1/p" .out)
reponame=$(sed -n "s/.*'\([^']*\)'.*/\1/p" .out | head -n1)
cd "$reponame"
git checkout "$TFO_MAIN_MODULE_REPO_REF"
echo "Setting up module for $reponame/$TFO_MAIN_MODULE_REPO_SUBDIR"
Expand Down

0 comments on commit 0ae0ba6

Please sign in to comment.