aboutsummaryrefslogtreecommitdiffstats
path: root/docs/master_nfs_node.sh
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2021-06-23 10:59:03 +0200
committerKrzysztof Opasiak <k.opasiak@samsung.com>2021-06-23 09:02:07 +0000
commitfe651c1283fbdd67bd4482727f5b7298d55df9d8 (patch)
tree0664a7beafbb2723c70a9769a53f7e869c2d5643 /docs/master_nfs_node.sh
parente1cafc0b0ca244007dd0f0b0dcc84bbf6fa784d5 (diff)
[COMMON] Revert "[COMMON] Fix a few bashisms"
This reverts commit 62178a49cc9e4088019d426636657d9f2980d242. This commit introduced regression on portal db config job which is now unable to start: /usr/local/bin/docker-entrypoint.sh: line 114: syntax error near unexpected token `(' Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I3cb72cd7625b180b364b713fe942d5956736ebef
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 32574c9f29..4a7a8dbc12 100644
--- a/docs/master_nfs_node.sh
+++ b/docs/master_nfs_node.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
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="${NFS_EXP}$i(rw,sync,no_root_squash,no_subtree_check) "
+ NFS_EXP+="$i(rw,sync,no_root_squash,no_subtree_check) "
done
echo "/dockerdata-nfs "$NFS_EXP | sudo tee -a /etc/exports