| 1 | #!/bin/bash |
| 2 | if [[ -t 1 ]]; then |
| 3 | echo |
| 4 | echo -e "\033[1;31mIMPORTANT\033[0m" |
| 5 | echo "The build script is now located in the root jacktrip folder and should" |
| 6 | echo "be run from there in future. (This script will eventually be removed and" |
| 7 | echo "is included for compatibility during the transition.)" |
| 8 | echo |
| 9 | echo "In future, after cloning the repository with git use the following commands:" |
| 10 | echo -e "\033[1m$ cd jacktrip" |
| 11 | echo "$ ./build" |
| 12 | echo -e "$ cd builddir\033[0m" |
| 13 | echo |
| 14 | echo "This will build jacktrip and take you to the build directory." |
| 15 | echo |
| 16 | read -n1 -rsp "Press any key to continue the build process..." |
| 17 | echo |
| 18 | fi |
| 19 | cd ../ |
| 20 | ./build $@ |