From bd4c3025d9a5f91d5a33d6feb01dfe43501e6b08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Pinkava?= Date: Sun, 25 Sep 2022 16:02:46 +0200 Subject: [PATCH] auto_rx/build.sh: allow run the build from any directory --- auto_rx/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auto_rx/build.sh b/auto_rx/build.sh index fd8bc19..a3ab14b 100755 --- a/auto_rx/build.sh +++ b/auto_rx/build.sh @@ -1,14 +1,14 @@ #!/bin/bash # # Auto Sonde Decoder build script. -# -# TODO: Convert this to a makefile! Any takers? # Get the auto-rx version. AUTO_RX_VERSION="\"$(python3 -m autorx.version 2>/dev/null || python -m autorx.version)\"" echo "Building for radiosonde_auto_rx version: $AUTO_RX_VERSION" +cd $(dirname $0) + #cd ../utils/ # Build tsrc - this is only required for the test/test_demod.py script, so is not included in the standard build. #gcc tsrc.c -o tsrc -lm -lsamplerate