From 2978d08335886928dff0e16c5c4f9b53c41e933f Mon Sep 17 00:00:00 2001 From: Brian Gix Date: Tue, 20 Aug 2019 12:44:55 -0700 Subject: [PATCH] tools: Tweak script to get Company IDS from SIG The Bluetooth SIG website requires a trailing "/" on the web page for the curl command to work. --- tools/update_compids.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/update_compids.sh b/tools/update_compids.sh index e82d3e413..be39f8858 100755 --- a/tools/update_compids.sh +++ b/tools/update_compids.sh @@ -23,7 +23,7 @@ cd $tmpdir echo -e 'const char *bt_compidtostr(int compid)\n{\n\tswitch (compid) {' > new.c -path=specifications/assigned-numbers/company-identifiers +path=specifications/assigned-numbers/company-identifiers/ # Use "iconv -c" to strip unwanted unicode characters curl --insecure https://www.bluetooth.com/$path | \ $scriptdir/tools/parse_companies.pl >> new.c -- 2.47.3