Skip to content

Commit

Permalink
Document abspath
Browse files Browse the repository at this point in the history
  • Loading branch information
aherrmann committed Jul 30, 2020
1 parent 926f1e6 commit 15335a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bazel_tools/packaging/package-app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ source "${RUNFILES_DIR:-/dev/null}/$f" 2>/dev/null || \
{ echo>&2 "ERROR: cannot find $f"; exit 1; }; f=; set -e
# --- end runfiles.bash initialization v2 ---

# Make sure that runfiles and tools are still found after we change directory.
case "$(uname -s)" in
Darwin)
abspath() { python -c 'import os.path, sys; sys.stdout.write(os.path.abspath(sys.argv[1]))' "$@"; }
Expand Down

0 comments on commit 15335a6

Please sign in to comment.