/
githubmirror
/
bash-completion
Обзор
Документация
Войти
/
githubmirror
/
bash-completion
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
2.10
setup-symlinks.sh
9 строк
151 B
Ville Skyttä
build: simplify symlink setup
28 апр 2019, 21:38
28 апр 2019, 21:38
3bc0225
Код
Авторство
О чём код?
#!/bin/sh -eu targetdir="$1"; shift target="$1"; shift for file in "$@"; do rm -f "$targetdir/$file" ln -s "$target" "$targetdir/$file" done