hiroyuki-sato commented on code in PR #50935:
URL: https://github.com/apache/arrow/pull/50935#discussion_r3849107518
##########
cpp/build-support/run-test.sh:
##########
@@ -23,42 +23,51 @@
# $ARGN - arguments for executable
#
-OUTPUT_ROOT=$1
+OUTPUT_ROOT="$1"
shift
-ROOT=$(cd $(dirname $BASH_SOURCE)/..; pwd)
+ROOT=$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd) || {
+ echo "Failed to determine project root directory" >&2
+ exit 1
+}
Review Comment:
Thank you for your comments. I'll try it. It looks like we need to make
changes not only to this part, but also to other parts.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]