zrhoffman commented on code in PR #7981:
URL: https://github.com/apache/trafficcontrol/pull/7981#discussion_r1621181499
##########
pkg:
##########
@@ -247,7 +262,7 @@ while (( "$#" )); do
# where <service> is the name of the specific service to be
chained. The file may be a symlink to another
# compose file, in which case the symlink will be followed
before it is processed.
if [ -e "$COMPOSE_FILE.$1" ] ; then
- $SELF -f $(realpath -e "$COMPOSE_FILE.$1") $([
"$verbose" == 0 ] || echo "-v") $([ "$quiet" == 0 ] || echo "-q") $([ "$debug"
== 0 ] || echo "-d") $([ "$build" == 0 ] || echo "-b") $("${COMPOSECMD[@]}" -f
$(realpath -e "$COMPOSE_FILE.$1") config --services)
+ $SELF -f $(realpath "$COMPOSE_FILE.$1") $([ "$verbose"
== 0 ] || echo "-v") $([ "$quiet" == 0 ] || echo "-q") $([ "$debug" == 0 ] ||
echo "-d") $([ "$build" == 0 ] || echo "-b") $("${COMPOSECMD[@]}" -f $(realpath
"$COMPOSE_FILE.$1") config --services)
Review Comment:
> I see if you still use `-e` argument with realpath, it won't work
Going back to `realpath` and looping through possible `realpath` executables
in the path to find GNU `realpath` in ff3c4562c8.
--
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]