From 353e7cf444aa03d22711ac65b38998cda31a90c2 Mon Sep 17 00:00:00 2001 From: matt <97546619+mattaltberg@users.noreply.github.com> Date: Thu, 23 Nov 2023 12:49:48 -0500 Subject: [PATCH] Fix if statement in setup-pre-container.sh --- inferentia/scripts/setup-pre-container.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inferentia/scripts/setup-pre-container.sh b/inferentia/scripts/setup-pre-container.sh index f6f5ae16..f72126b6 100755 --- a/inferentia/scripts/setup-pre-container.sh +++ b/inferentia/scripts/setup-pre-container.sh @@ -79,7 +79,7 @@ if [ ${INSTALL_INF1} -ne 1 ] && [ ${INSTALL_INF2} -ne 1 ]; then return 1 fi -if [ ${INSTALL_INF1} -eq 1 ] && [ ${INSTALL_INF2} -eq 1] +if [ ${INSTALL_INF1} -eq 1 ] && [ ${INSTALL_INF2} -eq 1 ] then echo "Error: cannot install both inf1 and inf2 dependencies. Please select either -inf1 or -inf2." return 1 @@ -127,4 +127,4 @@ fi # Add PATH export PATH=/opt/aws/neuron/bin:$PATH -cd ${CWD} \ No newline at end of file +cd ${CWD}