index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Eli Schwartz <eschwartz@archlinux.org> | 2021-04-19 22:25:51 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-04-23 09:48:08 +1000 |
commit | 8fe552070945561a0cd4dc24d3fcb22ed377f1a0 (patch) | |
tree | 0aeb8603acc06caf1caadf6f13447be3a19104c4 /build-aux | |
parent | 079b9d44e2faadd83856de07f890bae5cc51c5a4 (diff) |
-rw-r--r-- | build-aux/meson-make-symlink.sh | 8 |
diff --git a/build-aux/meson-make-symlink.sh b/build-aux/meson-make-symlink.sh index 501cd43d..3e3aa7ba 100644 --- a/build-aux/meson-make-symlink.sh +++ b/build-aux/meson-make-symlink.sh @@ -5,8 +5,6 @@ set -eu # and we need to create the target directory... mkdir -vp "$(dirname "${DESTDIR:-}$2")" -if [ "$(dirname $1)" = . ]; then - ln -vfs -T "$1" "${DESTDIR:-}$2" -else - ln -vfs -T --relative "${DESTDIR:-}$1" "${DESTDIR:-}$2" -fi + +rm -f "${DESTDIR:-}$2" +ln -vs "$1" "${DESTDIR:-}$2" |