about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-12-31 19:02:36 +0100
committertoonn <toonn@toonn.io>2020-12-31 19:02:36 +0100
commit92d7079f523bb62b4fa28cd79077c0df99829025 (patch)
tree928655063cd3db55f910c50f6e4a26744197f8f5
parent521d9f89f5bc3572f54033d04f8ebac26ffa10c6 (diff)
parent46c378fd41632e2aa775917bf0079441f070caa8 (diff)
downloadranger-92d7079f523bb62b4fa28cd79077c0df99829025.tar.gz
Merge branch 'shellcheck'
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0cb35bd4..3479bb2d 100644
--- a/Makefile
+++ b/Makefile
@@ -123,7 +123,8 @@ test_py: test_pylint test_flake8 test_doctest test_pytest test_other
 
 test_shellcheck:
 	@echo "$(bold)Running shellcheck...$(normal)"
-	sed '2,$$s/^\(\s*\)#/\1/' ./ranger/data/scope.sh | shellcheck -a -
+	sed '2,$$s/^\([[:blank:]]*\)#/\1/' ./ranger/data/scope.sh \
+	| shellcheck -a -
 	@echo
 
 test_other: