mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
Merge updates from master
This commit is contained in:
@@ -31,7 +31,7 @@ esac
|
||||
_dosym8_canonicalize() {
|
||||
local path slash i prev out IFS=/
|
||||
|
||||
read -r -d '' -a path <<< "$1"
|
||||
read -r -d '' -a path < <(echo -n "$1")
|
||||
[[ $1 == /* ]] && slash=/
|
||||
|
||||
while true; do
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -50,8 +50,10 @@ done
|
||||
teq . _dosym8_canonicalize .
|
||||
teq foo _dosym8_canonicalize foo
|
||||
teq foo _dosym8_canonicalize ./foo
|
||||
teq foo _dosym8_canonicalize foo/.
|
||||
teq ../foo _dosym8_canonicalize ../foo
|
||||
teq ../baz _dosym8_canonicalize foo/bar/../../../baz
|
||||
teq '*' _dosym8_canonicalize '*'
|
||||
|
||||
for f in ref_dosym_r "dosym8 -r"; do
|
||||
teq ../../bin/foo ${f} /bin/foo /usr/bin/foo
|
||||
|
||||
Reference in New Issue
Block a user