Files
MentOS/scripts/replace_links.sh
T
2021-10-04 11:44:02 +02:00

3 lines
140 B
Bash

#!/bin/bash
find -type l -exec git update-index --assume-unchanged {} \;
find -type l -exec bash -c 'ln -f "$(readlink -m "$0")" "$0"' {} \;