aboutsummaryrefslogtreecommitdiffstats
path: root/docs/master_nfs_node.sh
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-06-22 13:53:59 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-22 13:53:59 +0000
commitd95254082c9b7b5a060d8411a2f0bbdb3d90fb2e (patch)
tree1cab630b3b63088417e7ce7a96b9e3cc18cd1692 /docs/master_nfs_node.sh
parent697b21bc9d3c97ea76012049f1dcf05bb1b32db8 (diff)
parent62178a49cc9e4088019d426636657d9f2980d242 (diff)
Merge "[COMMON] Fix a few bashisms"
Diffstat (limited to 'docs/master_nfs_node.sh')
-rw-r--r--docs/master_nfs_node.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/master_nfs_node.sh b/docs/master_nfs_node.sh
index 4a7a8dbc12..32574c9f29 100644
--- a/docs/master_nfs_node.sh
+++ b/docs/master_nfs_node.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
usage () {
echo "Usage:"
@@ -23,7 +23,7 @@ sudo chown nobody:nogroup /dockerdata-nfs/
#Update the /etc/exports
NFS_EXP=""
for i in $@; do
- NFS_EXP+="$i(rw,sync,no_root_squash,no_subtree_check) "
+ NFS_EXP="${NFS_EXP}$i(rw,sync,no_root_squash,no_subtree_check) "
done
echo "/dockerdata-nfs "$NFS_EXP | sudo tee -a /etc/exports