Scripts: Remove exit stmts covered by errexit

This commit is contained in:
Unrud
2022-06-05 14:07:52 +02:00
committed by Matthias Mailänder
parent e2fd7ce7ed
commit c29f1590c9
9 changed files with 19 additions and 19 deletions

View File

@@ -35,7 +35,7 @@ install_assemblies() (
COPY_D2K_DLL="${7}"
ORIG_PWD=$(pwd)
cd "${SRC_PATH}" || exit 1
cd "${SRC_PATH}"
if [ "${RUNTIME}" = "mono" ]; then
echo "Building assemblies"
@@ -59,7 +59,7 @@ install_assemblies() (
rm "${SRC_PATH}/bin/OpenRA.Mods.D2k.dll"
fi
cd "${ORIG_PWD}" || exit 1
cd "${ORIG_PWD}"
echo "Installing engine to ${DEST_PATH}"
install -d "${DEST_PATH}"
@@ -82,7 +82,7 @@ install_assemblies() (
else
dotnet publish -c Release -p:TargetPlatform="${TARGETPLATFORM}" -p:CopyGenericLauncher="${COPY_GENERIC_LAUNCHER}" -p:CopyCncDll="${COPY_CNC_DLL}" -p:CopyD2kDll="${COPY_D2K_DLL}" -r "${TARGETPLATFORM}" -o "${DEST_PATH}" --self-contained true
fi
cd "${ORIG_PWD}" || exit 1
cd "${ORIG_PWD}"
)
# Copy the core engine and specified mod data to the target directory