Skip to content
This repository was archived by the owner on May 3, 2024. It is now read-only.

Commit 18c7f1a

Browse files
committed
CORTX-30751: Codacy code cleanup (#1606)
This patch fixes some of the codacy warnings. warning fixed : "Double quote to prevent globing and words splitting". Signed-off-by: alfhad <[email protected]>
1 parent de245d3 commit 18c7f1a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spiel/st/spiel_multiple_confd.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ _fini() {
9696
if [[ "$(is_lnet_available)" == "true" ]]; then
9797
m0_modules_remove
9898
fi
99-
cd $M0_SRC_DIR/utils/spiel
99+
cd "$M0_SRC_DIR"/utils/spiel
100100
cat $INSTALLED_FILES | xargs rm -rf
101101
rm -rf build/ $INSTALLED_FILES
102102
}
@@ -156,7 +156,7 @@ confd_mkfs_start() {
156156
-w 3 -f ${!fid}"
157157

158158
echo "--- $(date) ---" >>"$path"/m0d.log
159-
cd $path
159+
cd "$path"
160160

161161
echo "$M0_SRC_DIR"/utils/mkfs/m0mkfs $OPTS
162162
"$M0_SRC_DIR"/utils/mkfs/m0mkfs $OPTS >>"$path"/mkfs.log ||
@@ -173,11 +173,11 @@ confd_start() {
173173
-m $MAX_RPC_MSG_SIZE -q $TM_MIN_RECV_QUEUE_LEN -c $CONF_FILE\
174174
-w 3 -f ${!fid}"
175175

176-
echo "--- `date` ---" >>$path/m0d.log
177-
cd $path
176+
echo "--- `date` ---" >>"$path"/m0d.log
177+
cd "$path"
178178

179179
echo "$M0_SRC_DIR"/motr/m0d $OPTS
180-
$M0_SRC_DIR/motr/m0d $OPTS >>$path/m0d.log 2>&1 &
180+
"$M0_SRC_DIR"/motr/m0d $OPTS >>"$path"/m0d.log 2>&1 &
181181
local PID=$!
182182
sleep 10
183183
kill -0 $PID 2>/dev/null ||

0 commit comments

Comments
 (0)