Skip to content

Commit 3afc4b1

Browse files
authored
Fix ui.sh, add missing mounts.txt (#614)
* Fix ui.sh, add missing mounts.txt * mounts.txt for uig.sh, drop no longer needed LD_LIBRARY_PATH
1 parent 037dc17 commit 3afc4b1

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
MountPoints {
2+
MountPoint: "../../mount/lib"
3+
RootAlias: "/lib"
4+
Library: true
5+
}

ydb/library/yql/tools/yqlrun/ui.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99

1010
SCRIPT_DIR="$(dirname $(readlink -f "$0"))"
11-
UDFS_DIR="${SCRIPT_DIR}/../../udfs;${SCRIPT_DIR}/../../../../../yql/udfs"
11+
UDFS_DIR="${SCRIPT_DIR}/../../udfs;${SCRIPT_DIR}/../../../../../../yql/udfs"
1212
ASSETS_DIR=${SCRIPT_DIR}/http/www
1313
MOUNTS_CFG=${SCRIPT_DIR}/mounts.txt
1414
GATEWAYS_CFG=${SCRIPT_DIR}/../../cfg/tests/gateways.conf

ydb/library/yql/tools/yqlrun/uig.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
SCRIPT_DIR="$(dirname $(readlink -f "$0"))"
1111
UDFS_DIR="${SCRIPT_DIR}/../../udfs"
1212
ASSETS_DIR=${SCRIPT_DIR}/http/www
13+
MOUNTS_CFG=${SCRIPT_DIR}/mounts.txt
1314
GATEWAYS_CFG=${SCRIPT_DIR}/../../cfg/tests/gateways.conf
1415

1516
PORT=${1:-3000}
@@ -18,8 +19,8 @@ if [ "$2" = "--gdb" ]; then
1819
GDB="yag tool gdb --args"
1920
fi
2021

21-
export LD_LIBRARY_PATH=.
2222
${GDB} ${SCRIPT_DIR}/yqlrun ui \
23+
--mounts ${MOUNTS_CFG} \
2324
--udfs-dir ${UDFS_DIR} \
2425
--assets ${ASSETS_DIR} \
2526
--gateways-cfg ${GATEWAYS_CFG} \

0 commit comments

Comments
 (0)