diff options
| author | Huan Nguyen <[email protected]> | 2025-05-15 08:31:33 -0600 |
|---|---|---|
| committer | Huan Nguyen <[email protected]> | 2025-05-15 08:31:33 -0600 |
| commit | ede5c3487ebd4cd5fbfa2309d80ceab92010d96c (patch) | |
| tree | 295320f48337a6c7bb1902d18bb656c656ee9ff4 /scripts/build_ptp.sh | |
| parent | 7287ade62a51735b193bf3ec176be5db1fa23b4d (diff) | |
Try to help user if build script fails
A common error condition is that the user cloned the repo
without the --recursive option. We'll try to get the
submodules for them.
We remove the git clone command because the submodule update
should fix the issue.
Diffstat (limited to 'scripts/build_ptp.sh')
| -rwxr-xr-x | scripts/build_ptp.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build_ptp.sh b/scripts/build_ptp.sh index 6f715749..9471d592 100755 --- a/scripts/build_ptp.sh +++ b/scripts/build_ptp.sh @@ -1,3 +1,6 @@ #! /bin/bash -$(dirname `realpath $0`)/../test/cmake/ptp/run.sh build all +SCRIPT_DIR=$(dirname "$(realpath "$0")") +RUN_SCRIPT="$SCRIPT_DIR/../test/cmake/ptp/run.sh" + +. ./func_build.sh
\ No newline at end of file |
