aboutsummaryrefslogtreecommitdiff
path: root/utils/install_helper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/install_helper.sh')
-rwxr-xr-xutils/install_helper.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/utils/install_helper.sh b/utils/install_helper.sh
new file mode 100755
index 0000000..c62686c
--- /dev/null
+++ b/utils/install_helper.sh
@@ -0,0 +1,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"