mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
Building on the previous commit.
Command used:
$ find suites/ -type l -and -not -name .qa -execdir ~/fix.sh {} \;
fix.sh:
#!/bin/bash
link="$(readlink "$1")"
echo $link
dirlink="$(dirname "$link")"
baselink="$(basename "$link")"
while true; do
echo $dirlink
if [ "$dirlink" -ef ~/ceph/qa ]; then
ln -nsf ".qa/$baselink" "$1"
exit
else
baselink="$(basename "$dirlink")/$baselink"
dirlink="$(dirname "$dirlink")"
if [ "$dirlink" -ef . ]; then
break
fi
fi
done
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
|
||
|---|---|---|
| .. | ||
| clusters | ||
| install | ||
| mount | ||
| workload | ||
| .qa | ||
| % | ||
| objectstore | ||