Skip to content

Commit 10664ac

Browse files
committed
Fix build
1 parent 2ee99ba commit 10664ac

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ jobs:
275275
- name: Register Flight SQL ODBC Driver
276276
run: |
277277
chmod +x cpp/src/arrow/flight/sql/odbc/install/mac/install_odbc.sh
278-
sudo cpp/src/arrow/flight/sql/odbc/install/mac/install_odbc.sh $(pwd)/cpp/build/debug/libarrow_flight_sql_odbc.dylib
278+
sudo cpp/src/arrow/flight/sql/odbc/install/mac/install_odbc.sh $(pwd)/build/cpp/debug/libarrow_flight_sql_odbc.dylib
279279
- name: Test
280280
shell: bash
281281
run: |

cpp/src/arrow/flight/sql/odbc/install/mac/install_odbc.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,24 @@ if [ ! -f $ODBC_64BIT ]; then
3232
exit 1
3333
fi
3434

35+
SYSTEM_ODBCINST_FILE="/Library/ODBC/odbcinst.ini"
3536
USER_ODBCINST_FILE="$HOME/Library/ODBC/odbcinst.ini"
3637
DRIVER_NAME="Apache Arrow Flight SQL ODBC Driver"
3738
DSN_NAME="Apache Arrow Flight SQL ODBC DSN"
3839

40+
echo "Checking /Library"
41+
ls /Library
42+
echo "Checking /Library/ODBC"
43+
ls /Library/ODBC
44+
45+
echo "Checking $HOME"
46+
ls $HOME
47+
echo "Checking $HOME/Library"
48+
ls $HOME/Library
49+
echo "Checking $HOME/Library/ODBC"
50+
ls $HOME/Library/ODBC
51+
52+
touch "$SYSTEM_ODBCINST_FILE"
3953
touch "$USER_ODBCINST_FILE"
4054

4155
# Admin privilege is needed to add ODBC driver registration

0 commit comments

Comments
 (0)