+2007-04-15 Miklos Szeredi <miklos@szeredi.hu>
+
+ * Add -lulockmgr to compilation comment in fusexmp_fh.c
+
2007-04-05 Miklos Szeredi <miklos@szeredi.hu>
* mount.fuse should handle spaces in paths. Debian Bug#417834.
This program can be distributed under the terms of the GNU GPL.
See the file COPYING.
- gcc -Wall `pkg-config fuse --cflags --libs` fusexmp_fh.c -o fusexmp_fh
+ gcc -Wall `pkg-config fuse --cflags --libs` -lulockmgr fusexmp_fh.c -o fusexmp_fh
*/
#define FUSE_USE_VERSION 26
# add "-o " and remove trailing comma
OPTIONS="-o `echo $OPTIONS | sed "s/,$//"`"
-"${FSTYPE}" "${MOUNTPATH}" "${MOUNTPOINT}" ${OPTIONS}
+if test -z "$MOUNTPATH"; then
+ "${FSTYPE}" "${MOUNTPOINT}" ${OPTIONS}
+else
+ "${FSTYPE}" "${MOUNTPATH}" "${MOUNTPOINT}" ${OPTIONS}
+fi