Skip to content

Commit f3adb00

Browse files
committed
fix: Resolve git clone command spacing and path issues in CloudFormation template
1 parent 605b4ae commit f3adb00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cloudformation-template/unity-mc.main.template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,8 @@ Resources:
478478
&& echo "requested sha: ${MCSha}" \
479479
&& { \
480480
if [ "${MCSha}" != "" ]; then \
481-
sudo -i -u ubuntu bash -c 'git clone https://github.com/unity-sds/unity-management-console.git \
482-
&& cd /home/ubuntu/unity-management-console \
481+
sudo -i -u ubuntu bash -c 'cd /home/ubuntu && git clone https://github.com/unity-sds/unity-management-console.git \
482+
&& cd unity-management-console \
483483
&& git checkout ${MCSha} \
484484
&& cd /home/ubuntu/ \
485485
&& wget https://go.dev/dl/go1.20.14.linux-amd64.tar.gz \

0 commit comments

Comments
 (0)