Fixed the formatting in the launch.sh
@@ -1125,7 +1125,7 @@ if [ "$CP_PIPE_CLI_ENABLED" == "true" ]; then
exit 1
fi
- # Clean any known locations, where previous verssion of the pipe might reside (E.g. committed by the user)
+ # Clean any known locations, where previous version of the pipe might reside (E.g. committed by the user)
rm -f /bin/pipe
rm -f /usr/bin/pipe
rm -f /usr/local/bin/pipe
@@ -1140,7 +1140,7 @@ if [ "$CP_PIPE_CLI_ENABLED" == "true" ]; then
rm -f "$CP_PIPELINE_CLI_NAME"
ln -s ${CP_USR_BIN}/pipe/pipe /usr/bin/pipe
else
- # Install into the PATH locationse
+ # Install into the PATH locations
cp pipe /usr/bin/
cp pipe ${CP_USR_BIN}/
chmod +x /usr/bin/pipe ${CP_USR_BIN}/pipe
@@ -1317,8 +1317,7 @@ echo
CP_DATA_LOCALIZATION_ENABLED=${CP_DATA_LOCALIZATION_ENABLED:-"true"}
if [ "$CP_DATA_LOCALIZATION_ENABLED" == "true" ]; then
- if [ "$RESUMED_RUN" == true ];
- then
+ if [ "$RESUMED_RUN" == true ]; then
echo "Skipping data localization for resumed run"
else
######################################################
@@ -1330,15 +1329,13 @@ if [ "$CP_DATA_LOCALIZATION_ENABLED" == "true" ]; then
upload_inputs "${INPUT_ENV_FILE}" "${LOCALIZATION_TASK_NAME}"
- if [ $? -ne 0 ];
- then
+ if [ $? -ne 0 ]; then
echo "Failed to upload input data"
exit 1
fi
echo
[ -f "${INPUT_ENV_FILE}" ] && source "${INPUT_ENV_FILE}"
-
fi
fi
echo "------"
