From a49cc56d631eb6e08bf18c7e84794d00cfff2c11 Mon Sep 17 00:00:00 2001 From: Shuhao Wu Date: Mon, 9 Oct 2023 20:18:27 -0400 Subject: [PATCH] Fixed build script --- exercise3-2/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/exercise3-2/build.sh b/exercise3-2/build.sh index 9127896..97d0fe2 100755 --- a/exercise3-2/build.sh +++ b/exercise3-2/build.sh @@ -1,4 +1,7 @@ #!/bin/bash -tar xzf /opt/exercise3-2-build-output.tar.gz +if [ ! -d build ]; then + tar xzf /opt/exercise3-2-build-output.tar.gz +fi + colcon build