From d4a419b2b12df2ad8d1ae300f946b8828c439020 Mon Sep 17 00:00:00 2001 From: Marc Garcia Puig Date: Mon, 1 Jul 2019 12:40:52 +0200 Subject: [PATCH] Remove unnecessary files before packaging --- Util/BuildTools/Package.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Util/BuildTools/Package.sh b/Util/BuildTools/Package.sh index 78668061b..66846f26f 100755 --- a/Util/BuildTools/Package.sh +++ b/Util/BuildTools/Package.sh @@ -219,9 +219,10 @@ for PACKAGE_NAME in "${PACKAGES[@]}" ; do if [[ ${PACKAGE_NAME} != "Carla" ]] ; log "\nPackaging '${PACKAGE_NAME}'..." - rm -Rf ./CarlaUE4/Metadata - rm -Rf ./CarlaUE4/Plugins - rm -f ./CarlaUE4/AssetRegistry.bin + rm -Rf "./CarlaUE4/Metadata" + rm -Rf "./CarlaUE4/Plugins" + rm -Rf "./CarlaUE4/Content/${PACKAGE_NAME}/Maps/PropsMap" + rm -f "./CarlaUE4/AssetRegistry.bin" mkdir -p "${BUILD_FOLDER}/CarlaUE4/Content/${PACKAGE_NAME}/Config/" && \ cp "${PACKAGE_FILE}" "$_"