Skip to content

Commit cb78d46

Browse files
authored
fix: extract build.tar.gz to DOWNLOAD_DIR so cmake_install.cmake is found
1 parent 034b464 commit cb78d46

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/scripts/install_dls2_msgs.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,9 @@ gh release download "$TAG" \
5858
echo "Downloaded assets:"
5959
ls -lR "$DOWNLOAD_DIR"
6060

61-
# Extract the build tarball
61+
# Extract the build tarball (the archive contains a top-level "build/" directory)
62+
tar -xzf "${DOWNLOAD_DIR}/build.tar.gz" -C "$DOWNLOAD_DIR"
6263
BUILD_DIR="${DOWNLOAD_DIR}/build"
63-
mkdir -p "$BUILD_DIR"
64-
tar -xzf "${DOWNLOAD_DIR}/build.tar.gz" -C "$BUILD_DIR"
6564

6665
# Run cmake --install on the extracted build directory to install headers and
6766
# libraries to the standard system paths (/usr/include/dls_messages, /usr/lib/dls2, etc.)

0 commit comments

Comments
 (0)