Skip to content

Commit

Permalink
Update build_and_install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetanserre authored Jul 12, 2024
1 parent e5ade3e commit 70dd285
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build_and_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Red="\033[0;31m"
Green="\033[0;92m"
NC="\033[0m"

platform=$(python -c "import platform; print(platform.processor())")
echo -e "${Purple}Running on ${platform} platform${NC}"

unameOut="$(uname -s)"
case "${unameOut}" in
Linux*) lib_ext=so; lib_path=LD_LIBRARY_PATH;;
Expand Down Expand Up @@ -38,4 +41,4 @@ else
echo -e "${Red}pyGKLS is not working correctly!${NC}"
echo -e "${Red}Please make sure that $HOME/.local/lib is in ${lib_path}!${NC}"
exit 1
fi
fi

0 comments on commit 70dd285

Please sign in to comment.