You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# broken symlink on fedora/GNU; this will never be reached on macos, as on macos `readlink -f` always resolves
162
+
symlink_status=9 # EBADF 9 Bad file descriptor
154
163
fi
155
164
# check resolution, is fine that it runs on the pre-resolution old path, as long as it is absolute
156
165
if [[ $symlink_status-ne 0 ]];then
@@ -184,6 +193,7 @@ function __process() (
184
193
# reiterate on the resolved path, without further resolutions, to resolve synthetics and relatives, and validation
185
194
# can't do validation earlier, as `[[ -<...> ]]` behave differently on synthetic and relative paths within a symlink dir, see earlier note
186
195
if_missing_it_is_because_of_symlink='yes'
196
+
# @for with the current <validate> functionality, it behaves akin to `--follow --validate`, so we perhaps could avoid a lot of drama by just doing a `readlink -e` check regardless of resolution method, however `readlink -e` is not available on macos, and eventually @todo we may want `--resolve --validate` to only validate the first resolution and not all - but for now, `--validate` essentially implies `--follow`
0 commit comments