From a8850ba94b0e52a415db4a14860cc76796c509f0 Mon Sep 17 00:00:00 2001 From: "Kyle M. Hart" Date: Fri, 13 Dec 2024 13:11:36 -0500 Subject: [PATCH] Create symlinks for all cmake executables when reinstalling --- src/cpp-mariadb/.devcontainer/reinstall-cmake.sh | 4 ++++ src/cpp/.devcontainer/reinstall-cmake.sh | 3 +++ 2 files changed, 7 insertions(+) diff --git a/src/cpp-mariadb/.devcontainer/reinstall-cmake.sh b/src/cpp-mariadb/.devcontainer/reinstall-cmake.sh index c8332538..a37a3c20 100644 --- a/src/cpp-mariadb/.devcontainer/reinstall-cmake.sh +++ b/src/cpp-mariadb/.devcontainer/reinstall-cmake.sh @@ -55,4 +55,8 @@ curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/ sha256sum -c --ignore-missing "${CMAKE_CHECKSUM_NAME}" sh "${TMP_DIR}/${CMAKE_BINARY_NAME}" --prefix=/opt/cmake --skip-license +ln -s /opt/cmake/bin/ccmake /usr/local/bin/ccmake ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake +ln -s /opt/cmake/bin/cmake-gui /usr/local/bin/cmake-gui +ln -s /opt/cmake/bin/cpack /usr/local/bin/cpack +ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest diff --git a/src/cpp/.devcontainer/reinstall-cmake.sh b/src/cpp/.devcontainer/reinstall-cmake.sh index 408b81d2..a37a3c20 100644 --- a/src/cpp/.devcontainer/reinstall-cmake.sh +++ b/src/cpp/.devcontainer/reinstall-cmake.sh @@ -55,5 +55,8 @@ curl -sSL "https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/ sha256sum -c --ignore-missing "${CMAKE_CHECKSUM_NAME}" sh "${TMP_DIR}/${CMAKE_BINARY_NAME}" --prefix=/opt/cmake --skip-license +ln -s /opt/cmake/bin/ccmake /usr/local/bin/ccmake ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake +ln -s /opt/cmake/bin/cmake-gui /usr/local/bin/cmake-gui +ln -s /opt/cmake/bin/cpack /usr/local/bin/cpack ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest