DEVenv/Linux/Scripts/cmake_env.sh

14 lines
295 B
Bash
Raw Normal View History

2024-04-07 23:35:15 +00:00
#!/bin/bash
curr_script=$(realpath "${BASH_SOURCE[0]}")
root_path=${devenver_root}/CMake
path_to_add=${root_path}/$1/bin
if [ "$1" == "list" ]; then
ls ${root_path}
else
echo [DEVENVER] \"${curr_script}\" is adding to path \"${path_to_add}\"
PATH=${path_to_add}:${PATH} ${@:2}
fi