diff --git a/packages/build_executables.sh b/packages/build_executables.sh index c76fbbf..e7c922d 100755 --- a/packages/build_executables.sh +++ b/packages/build_executables.sh @@ -28,7 +28,8 @@ docker run --rm -v "$(pwd)/..:/src" -u root dropshell-builder:latest bash -c ' cmake -DCMAKE_BUILD_TYPE=Release .. && \ make && \ cp dropshell ../packages/output/dropshell-x86_64 && \ - chown '"$USER_ID:$GROUP_ID"' ../packages/output/dropshell-x86_64 + chown '"$USER_ID:$GROUP_ID"' ../packages/output/dropshell-x86_64 && \ + rm -rf build ' # Build arm64 executable @@ -40,5 +41,6 @@ docker run --rm -v "$(pwd)/..:/src" -u root dropshell-builder:latest bash -c ' -DCMAKE_BUILD_TYPE=Release .. && \ make && \ cp dropshell ../packages/output/dropshell-arm64 && \ - chown '"$USER_ID:$GROUP_ID"' ../packages/output/dropshell-arm64 -' + chown '"$USER_ID:$GROUP_ID"' ../packages/output/dropshell-arm64 && \ + rm -rf build +' \ No newline at end of file