Skip to content

Commit

Permalink
fix: shellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-stoian-zama committed Dec 6, 2024
1 parent 7249309 commit 3bb1077
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script/make_utils/setup_os_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,17 @@ linux_install_github_cli () {
}

linux_install_cmake () {
export OLD_DIR=$(pwd)
cd /tmp
OLD_DIR=$(pwd)
cd /tmp || return
wget https://github.com/Kitware/CMake/releases/download/v3.31.2/cmake-3.31.2.tar.gz
tar xzf cmake-3.31.2.tar.gz
cd cmake-3.31.2 || return
./bootstrap
make -j8
sudo make install
cd ../
cd ../ || return
rm -rf cmake-3.31.2
cd "${OLD_DIR}"
cd "${OLD_DIR}" || return
}

OS_NAME=$(uname)
Expand Down

0 comments on commit 3bb1077

Please sign in to comment.