diff options
author | 2021-06-28 12:11:06 +0000 | |
---|---|---|
committer | 2021-06-28 12:11:06 +0000 | |
commit | ae7b05560d7c7d59c7ceaa7d7e40bdce67e7d399 (patch) | |
tree | f9b9f59c9eca920363beb55c0ecde823c94b5018 /docs/master_nfs_node.sh | |
parent | 38a5a0decaaf9d4a0ae179432528899b73f1587a (diff) | |
parent | 3091ed446f8608e096462b8878333aab4bd27864 (diff) |
Merge changes from topic "bashisms"
* changes:
[COMMON] Fix array variables increments
[COMMON] Fix some bashisms
Diffstat (limited to 'docs/master_nfs_node.sh')
-rw-r--r-- | docs/master_nfs_node.sh | 4 |
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 |