guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 01/01: gnu: glusterfs: Replace hardcoded FHS references.


From: Ludovic Courtès
Subject: Re: 01/01: gnu: glusterfs: Replace hardcoded FHS references.
Date: Fri, 01 Dec 2017 17:13:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

address@hidden (Ricardo Wurmus) skribis:

> commit b9fb70ca65f2f76919a093cb73150082466f4203
> Author: Ricardo Wurmus <address@hidden>
> Date:   Fri Dec 1 16:39:08 2017 +0100
>
>     gnu: glusterfs: Replace hardcoded FHS references.
>     
>     * gnu/packages/patches/glusterfs-use-PATH-instead-of-hardcodes.patch: New 
> file.
>     * gnu/local.mk (dist_patch_DATA): Add it.
>     * gnu/packages/file-systems.scm (glusterfs)[source]: Use it.

[...]

> +--- a/contrib/fuse-lib/mount-common.c
> ++++ b/contrib/fuse-lib/mount-common.c
> +@@ -255,16 +255,16 @@ fuse_mnt_umount (const char *progname, const char 
> *abs_mnt,
> +                         exit (1);
> +                 }
> + #ifdef GF_LINUX_HOST_OS
> +-                execl ("/bin/umount", "/bin/umount", "-i", rel_mnt,
> ++                execl ("umount", "umount", "-i", rel_mnt,

Should it be ‘execlp’?  Otherwise it’s going to try to execute “umount”
from $PWD, no?

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]