diff options
| -rwxr-xr-x | geo-replication/src/peer_gsec_create.in | 3 | 
1 files changed, 2 insertions, 1 deletions
diff --git a/geo-replication/src/peer_gsec_create.in b/geo-replication/src/peer_gsec_create.in index 97c4333d69c..05c1638bdcd 100755 --- a/geo-replication/src/peer_gsec_create.in +++ b/geo-replication/src/peer_gsec_create.in @@ -2,6 +2,7 @@  prefix=@prefix@  exec_prefix=@exec_prefix@ +libexecdir=@libexecdir@  if [ ! -f "$GLUSTERD_WORKDIR"/geo-replication/secret.pem.pub ]; then      \rm -rf "$GLUSTERD_WORKDIR"/geo-replication/secret.pem* @@ -17,7 +18,7 @@ if [ "Xcontainer" = "X$1" ]; then      output1=`cat "$GLUSTERD_WORKDIR"/geo-replication/secret.pem.pub`      output2=`cat "$GLUSTERD_WORKDIR"/geo-replication/tar_ssh.pem.pub`  else -    output1=`echo command=\"${exec_prefix}/libexec/glusterfs/gsyncd\" " "``cat "$GLUSTERD_WORKDIR"/geo-replication/secret.pem.pub` +    output1=`echo command=\"${libexecdir}/glusterfs/gsyncd\" " "``cat "$GLUSTERD_WORKDIR"/geo-replication/secret.pem.pub`      output2=`echo command=\"tar \$\{SSH_ORIGINAL_COMMAND#* \}\" " "``cat "$GLUSTERD_WORKDIR"/geo-replication/tar_ssh.pem.pub`  fi  echo -e "$output1\n$output2"  | 
