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

Commit

Permalink
CORTX-30751: Codacy code cleanup (#1606) (#2106)
Browse files Browse the repository at this point in the history
This patch fixes some of the codacy warnings.
warning fixed : "Double quote to prevent globing and words splitting".

Signed-off-by: Rinku Kothiya <rinku.kothiya@seagate.com>
  • Loading branch information
rkothiya authored Aug 29, 2022
1 parent 6c3541f commit 262af40
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions m0t1fs/linux_kernel/st/m0t1fs_poolmach.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@
#


. $(dirname $0)/common.sh
. $(dirname $0)/m0t1fs_common_inc.sh
. $(dirname $0)/m0t1fs_client_inc.sh
. $(dirname $0)/m0t1fs_server_inc.sh
. $(dirname "$0")/common.sh
. $(dirname "$0")/m0t1fs_common_inc.sh
. $(dirname "$0")/m0t1fs_client_inc.sh
. $(dirname "$0")/m0t1fs_server_inc.sh

pool_mach_test()
{
Expand Down
10 changes: 5 additions & 5 deletions m0t1fs/linux_kernel/st/m0t1fs_rpc_cancel_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
#


. $(dirname $0)/common.sh
. $(dirname $0)/m0t1fs_common_inc.sh
. $(dirname $0)/m0t1fs_client_inc.sh
. $(dirname $0)/m0t1fs_server_inc.sh
. $(dirname $0)/m0t1fs_sns_common_inc.sh
. $(dirname "$0")/common.sh
. $(dirname "$0")/m0t1fs_common_inc.sh
. $(dirname "$0")/m0t1fs_client_inc.sh
. $(dirname "$0")/m0t1fs_server_inc.sh
. $(dirname "$0")/m0t1fs_sns_common_inc.sh

. $M0_SRC_DIR/utils/functions # opcode

Expand Down
6 changes: 3 additions & 3 deletions m0t1fs/linux_kernel/st/m0t1fs_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ if [ "x$1" = "x-h" ]; then
exit 0
fi

. $(dirname $0)/common.sh
. $(dirname $0)/m0t1fs_common_inc.sh
. $(dirname $0)/m0t1fs_server_inc.sh
. $(dirname "$0")/common.sh
. $(dirname "$0")/m0t1fs_common_inc.sh
. $(dirname "$0")/m0t1fs_server_inc.sh

main()
{
Expand Down
10 changes: 5 additions & 5 deletions m0t1fs/linux_kernel/st/m0t1fs_sns_repair_1f.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
#


. $(dirname $0)/common.sh
. $(dirname $0)/m0t1fs_common_inc.sh
. $(dirname $0)/m0t1fs_client_inc.sh
. $(dirname $0)/m0t1fs_server_inc.sh
. $(dirname $0)/m0t1fs_sns_common_inc.sh
. $(dirname "$0")/common.sh
. $(dirname "$0")/m0t1fs_common_inc.sh
. $(dirname "$0")/m0t1fs_client_inc.sh
. $(dirname "$0")/m0t1fs_server_inc.sh
. $(dirname "$0")/m0t1fs_sns_common_inc.sh

###################################################
# SNS repair is only supported in COPYTOOL mode,
Expand Down
10 changes: 5 additions & 5 deletions m0t1fs/linux_kernel/st/m0t1fs_sns_repair_1k_1f.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
#


. $(dirname $0)/common.sh
. $(dirname $0)/m0t1fs_common_inc.sh
. $(dirname $0)/m0t1fs_client_inc.sh
. $(dirname $0)/m0t1fs_server_inc.sh
. $(dirname $0)/m0t1fs_sns_common_inc.sh
. $(dirname "$0")/common.sh
. $(dirname "$0")/m0t1fs_common_inc.sh
. $(dirname "$0")/m0t1fs_client_inc.sh
. $(dirname "$0")/m0t1fs_server_inc.sh
. $(dirname "$0")/m0t1fs_sns_common_inc.sh

###################################################
# SNS repair is only supported in COPYTOOL mode,
Expand Down

0 comments on commit 262af40

Please sign in to comment.