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