This commit is contained in:
abdelrahman committed 2026-06-14 19:09:18 +01:00
1 parent 14bd1a9271
commit 13fa90a0e9
3958 files changed
+999286 -4

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# Copyright 2022 The Khronos Group Inc.
# SPDX-License-Identifier: Apache-2.0
# aaaaargh! macOS readlink did not support `-f` until macOS 12.3.
# CI has yet to catch up - latest is 12.2 - so this script finds
# the canonical file using just `readlink`.
libdir=$(dirname $1)
prev_target=$1
until target="$(readlink $prev_target)"; [ -z $target ]; do
prev_target=$libdir/$target;
done
echo $prev_target