]>
git.ipfire.org Git - thirdparty/systemd.git/blob - tools/meson-make-symlink.sh
2 # SPDX-License-Identifier: LGPL-2.1-or-later
8 if [ "${MESON_INSTALL_QUIET:-0}" = 1 ] ; then
14 # this is needed mostly because $DESTDIR is provided as a variable,
15 # and we need to create the target directory...
17 mkdir
-${VERBOSE}p
"$(dirname "${DESTDIR:-}$TARGET")"
18 if [ "$(dirname "$SOURCE")" = .
] ||
[ "$(dirname "$SOURCE")" = ..
]; then
19 ln -${VERBOSE}fs
-T -- "$SOURCE" "${DESTDIR:-}$TARGET"
21 ln -${VERBOSE}fs -T --relative -- "${DESTDIR:-}$SOURCE" "${DESTDIR:-}$TARGET"