Hide Forgot
On Tue, Jul 14, 2009 at 11:30 AM, Brent A Nelson <brent.edu> wrote: On my hardy system, /bin/sh refers to dash. The new /sbin/mount.glusterfs still uses /bin/sh, but its function definitions have changed from "function-name ()" to "function function-name ()", which is bash syntax. If I change the top line from "#!/bin/sh" to "#!/bin/bash", all is well. Otherwise, I get a syntax error at line 21. For systems where /bin/sh is a link to bash, this would not be a problem. Thanks, Brent
PATCH: http://patches.gluster.com/patch/751 in master (change mount.glusterfs.in to work with non-bash shells too.)
PATCH: http://patches.gluster.com/patch/766 in release-2.0 (change mount.glusterfs.in to work with non-bash shells too.)