aboutsummaryrefslogtreecommitdiff
path: root/utils/install_helper.sh
blob: c62686c5441515a97cd2fa55284ba82be4ff5511 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# Don't call this script. It is used internally by the Meson
# build system. Thank you for your cooperation.
#

set -e

bindir="$2"
sbindir="$1"
prefix="${MESON_INSTALL_DESTDIR_PREFIX}"

mkdir -p "${prefix}/${sbindir}"

ln -svf --relative "${prefix}/${bindir}/sshfs" \
   "${prefix}/${sbindir}/mount.sshfs"

ln -svf --relative "${prefix}/${bindir}/sshfs" \
   "${prefix}/${sbindir}/mount.fuse.sshfs"